C Program code to read & display numbers until a negative number is heaved

This C program code reads and displays a number until a negative number is an input. The program flow starts only when a positive number is entered. This is done with a goto statement. Then the program reads and displays positive numbers and the program terminates when a negative number is entered. The do while statement is used here.


PROGRAM CODE


Comments