subject

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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
When you collaborate or meet with a person or group online, it is called
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Problem 1 - hashing we would like to use initials to locate an individual. for instance, mel should locate the person mark e. lehr. note: this is all upper case. generate a hash function for the above using the numbers on your telephone. you know, each letter has a number associated with it, so examine your telephone keypad. generate 512 random 3 letter initials and take statistics on a linked list array size 512 to hold this information report how many have no elements, 1 element, 2 elements, does this agree with the hashing statistics distribution?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
You know the right answer?
Write a while loop that prints

a. all squares less than n. for example, if n is 100, pri...
Questions
question
Mathematics, 11.11.2021 14:00
question
English, 11.11.2021 14:00
question
Mathematics, 11.11.2021 14:00
question
Business, 11.11.2021 14:00
question
Business, 11.11.2021 14:00
Questions on the website: 13722361