Untitled
unknown
plain_text
3 years ago
328 B
10
Indexable
#include <iostream>
#include <string>
#include <math.h>
#include <fstream>
using namespace std;
float aaaa(int a, int b, int c) {
return ((a * b) * c) / 3.0;
};
int main()
{
int a, b, c;
float V;
ifstream jija("input.txt");
jija >> a >> b >> c;
V = aaaa(a, b, c);
cout << V;
}Editor is loading...