Computers and Technology

Write a while loop that prints

a. all squares less than n. for example, if n is 100, print 0 1 4 9 16 25 36 49 64 81.
b. all positive numbers that are divisible by 10 and less than n. for example, if n is 100, print 10 20 30 40 50 60 70 80 90
c. all powers of two less than n. for example, if n is 100, print 1 2 4 8 16 32 64.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:00, 19elbatawisaly
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
image
Computers and Technology, 23.06.2019 16:10, alexis9658
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
image
Computers and Technology, 24.06.2019 02:30, cardsqueen
Which option completes the explanation for conflict of interest in an organization
Answers: 1
image
Computers and Technology, 24.06.2019 03:30, live4dramaoy0yf9
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
Do you know the correct answer?
Write a while loop that prints

a. all squares less than n. for example, if n is 100, pri...

Questions in other subjects:

Konu
Spanish, 13.11.2020 01:50
Konu
History, 13.11.2020 01:50