Question: Write a program that continuously ask the user to enter an integer number. If the entered number is a multiple of 7 it is displayed

Write a program that continuously ask the user to enter an integer number. If the entered number is a multiple of 7 it is displayed on the screen and the loop is continued. If the number is not a multiple of 7 it is not displayed but the loop is continued. The loop exits only if the user enters -23 and before ending the program displays the sum of all the numbers entered by the user excluding -23.

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 Databases Questions!