write a program that prompts the user to input a positive integer , if the user enters zero or a negative value for nu, it prompts user to input num again and repets this process untill unser inputs a correct value. it then display the sum of the numbers 1 to num
i am having difficulties to do the loop on how the program will check whether the entered num is 0 or negative...