Untitled
unknown
plain_text
3 years ago
369 B
6
Indexable
#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;
}Editor is loading...