Problem is to write a program that prompts the user to input positive numbers continuously till the user input a negative number or 0. The program then find and print the sum of all positive numbers. The program then checks and prints whether the sum is divisible by 3 or not (Use do while loop).
|