67 128
Assignments Done
99,3%
Successfully Done
In November 2018

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
Expert's answer
#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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions