Hi everybody! I am new to C and I have a quick question. I am writing a program that calculates the area of a circle.The program is asking to enter diameter and then it calculates the area radius and etc.
How could I make stop the program if less than 0 is entered for the diameter?
This is not a homework, just learning on my own....