Question: Write a program that uses a loop to process the odd number values included in the range 1 through 5 that will be used to

Write a program that uses a loop to process the odd number values included in the range 1 through 5 that will be used to calculate the same two values together. Within the
loop, each repetition of the loop should display the result of adding the same two numbers together, subtracting the same two numbers together, multiplying the same two
numbers together, and dividing the same two numbers together. The entire formula and the results are displayed. The number on the right of the equal sign needs to be
calculated and then displayed. The following is the output that should be displayed:
1+1=2
1-1=0
1**1=1
11=1
3+3=6
3-3=0
3**3=9
33=1
5+5=10
5-5=0
5**5=25
55=1
Write a program that uses a loop to process the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!