Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In java 2. Write a program that calculates 1 + 3 + 5 + 7 + + 99 (40 pts) (on slides page 56) a.
In java 2. Write a program that calculates 1 + 3 + 5 + 7 + + 99 (40 pts) (on slides page 56) a. By using for loop b. By using while loop c. By using do-while loop 3. Ask the user to enter an integer n (n 1). Write a program that calculates 1! + 2! + 3! + 4! + + n! (40 pts) (on slides page 57) a. By using for loop b. By using while loop c. By using do-while loop Extra credits: 4. Write a program that displays the multiplication table shown as follows: (20 pts) (on slides page 58) a. By using for loop b. By using while loop c. By using do-while loop
In java
2. Write a program that calculates 1 + 3 + 5 + 7 + + 99 (40 pts) (on slides page 56)
a. By using for loop
b. By using while loop
c. By using do-while loop
3. Ask the user to enter an integer n (n 1). Write a program that calculates 1! + 2! + 3! + 4! + + n! (40 pts) (on slides page 57)
a. By using for loop
b. By using while loop
c. By using do-while loop Extra credits:
4. Write a program that displays the multiplication table shown as follows: (20 pts) (on slides page 58)
a. By using for loop
b. By using while loop
c. By using do-while loop
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started