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
Get step-by-step solutions from verified subject matter experts
