Untitled
unknown
plain_text
a year ago
344 B
0
Indexable
Never
#include <iostream> #include <string> #include <fstream> using namespace std; float volume(float a, float b, float c) { float v; v = a * b * 0.333333333; return v; } int main() { ifstream in("Source.txt"); float a, b, c,v; in >> a >> b >> c; cout << fixed; cout.precision(2); v = volume(a, b, c); cout << v; }