#include <iostream>#include <math.h>using namespace std;void main(){ setlocale(NULL, "russian"); const int r = 1; cout << "R\tH\tV\n" << endl; for(int h = 1; h <= 10; h++){ cout << r << "\t" << h << "\t" << (pow(r, 2))*(h/3) << endl; } system("pause");};
#include <iostream>
#include <math.h>
using namespace std;
void main()
{
setlocale(NULL, "russian");
const int r = 1;
cout << "R\tH\tV\n" << endl;
for(int h = 1; h <= 10; h++){
cout << r << "\t" << h << "\t" << (pow(r, 2))*(h/3) << endl;
}
system("pause");
};