subject

Write a program1 called seriesofnumbers. java that contains a for loop that produces (prints) the following output:
1 4 9 16 25 36 49 64 81 100
your first version may use multiplication (*) operator. however, your final submitted version should also include a version that does not use multiplication (*) operator. if your program includes multiple approaches to the problem, consider placing each approach in a different method. hint: look at the differences between adjacent numbers in order to eliminate the use of the multiplication (*) operator. also consider the use of variables and constants in order to easily change the number of values output.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 24.06.2019 06:00
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 08:20
Which type of entity describes a fundamental business aspect of a database? a. linking b. lookup c. domain d. weak
Answers: 3
You know the right answer?
Write a program1 called seriesofnumbers. java that contains a for loop that produces (prints) the fo...
Questions
question
Mathematics, 18.03.2021 02:40
question
Business, 18.03.2021 02:40
question
Mathematics, 18.03.2021 02:40
question
Mathematics, 18.03.2021 02:40