Answer to Question #62591 in C++ for tennyson

Question #62591
Find all square of all odd numbers between 12 and 80 as shown below
13 169
14 225
17 289
1
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS