BPJ Quiz 11-12 A
-
Print the numbers from 99 to 50, going down by one each time.
-
There are four perfect squares between 10 and 50. They are 16, 25, 36, and 49. Their average is 31.5.
Find the average of all the perfect squares between 99 and 5678. Print it.
-
Pick an integer
nin your code (“hard code” it… once we know random then we will pick a random number). Create aScannerthat must be calledriverfor full credit… to read input from the keyboard. Keep asking “Guess?” until they type in the number you picked. (Then your program ends.)Example transcript when
n=111:Guess? 10 Guess? 100 Guess? 111