Hey, guys I need help trying to total these three columns individually. Thank you.
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main() {
int sum;
cout << setprecision(2) << fixed;
cout << "_____________________________________________" << endl;
for (int i = 50; i <= 75; i++) {
cout << setw(6) << i << setw(9) << i*i << setw(12) << i*i*i << setw(13) << double(sqrt(i)) << endl;
}
cout << "_____________________________________________" << endl;
return 0;
}