Essentially my program became an infinite loop and I don't know how to fix this. I want this program to repeatedly ask the user to enter a wattage until the user inputs -1.
...
Type: Posts; User: n.jimenez
Essentially my program became an infinite loop and I don't know how to fix this. I want this program to repeatedly ask the user to enter a wattage until the user inputs -1.
...
I have reset the sum and reverse but how do I get the printf statement to be part of the loop?
So far I have written a code to find the reverse of a number as well as the sum of the digits for an integer. The program is meant to keep asking the user for a new integer so that it will find the...