Answer to Question #62591 in C++ for tennyson
Find all square of all odd numbers between 12 and 80 as shown below
13 169
14 225
17 289
1
2016-10-14T13:29:03-0400
#include <iostream>
using namespace std;
int main() {
for (int i = 13; i < 80; i += 2)
{
cout << i << " " << i * i << endl;
}
return 0;
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment