a program in C language  to find the absolute value of a number using  if else  statements.

Explanation
1. The program starts by including the necessary header file stdio.h for input and output operations.
2. The main function is defined where the user is prompted to enter a number.
3. The entered number is stored in the variable num.
4. An if else statement is used to check if the number is negative. If the number is negative, the sign is changed to positive by multiplying it by -1.
5. Finally, the absolute value of the number is printed to the console.


Previous :-->> 15.Create a program in C to convert temperature from Celsius to Fahrenheit or vice versa using switch case . 
NEXT: 17.Write a program to in C check if a character is uppercase or lowercase using switch case.
-->>ALL Conditionl statements Programs