Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
369 B
0
Indexable
Never
#include <SFML/Graphics.hpp>
#include <iostream>
#include <sstream>
#include <time.h>
#include <Windows.h>
#include <fstream>

using namespace std;
using namespace sf;

float S(float a, float b, float c) {
	return ((a * b) * c) / 3;
}

int main()
{
	float a, b, c,s;
	ifstream file("input.txt");
	file >> a >> b >> c;
	s = S(a, b, c);
	cout << s;
}