C: Modify a calculator program to loop until user quits.


Modify the last example in the chapter that implemented a calculator so that the user is given the option to enter y or Y to carry out another calculation, and n or N to end the program. (Note: You’ll have to use a goto statement for this here, but you’ll learn a better way of doing this in the next chapter.)

Popular posts from this blog

C: Program That Calculates Pay Based On Salary And Hours.

C: Usage Of limits.h And float.h To Access Min And Max Constants.

C: Calculate Order Price Based On User's Input.