Using C++, develop a program that displays squares of numbers from 1 to 10 (skip number 5) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Using C++, develop a program that displays squares of numbers from 1 to 10 (skip number 5)

using: for loop while loop do while

22nd Nov 2022, 8:53 AM
Shozi Gaming
Shozi Gaming - avatar
4 Answers
0
It seems straightforward: you do a sequence from 1 to 10, skip 5, and print the square of each number. What exactly didn't you understand?
22nd Nov 2022, 3:57 PM
Emerson Prado
Emerson Prado - avatar
0
Pls edit your question description and add: 1. A link to your code in Code Playground 2. An explanation of your difficulties
22nd Nov 2022, 1:57 PM
Emerson Prado
Emerson Prado - avatar
0
My teacher give me assignment to do this code but I can't understand it.
22nd Nov 2022, 2:06 PM
Shozi Gaming
Shozi Gaming - avatar
0
Thanks I understood
22nd Nov 2022, 4:03 PM
Shozi Gaming
Shozi Gaming - avatar