Program to find the greater number from two different numbers.


Here, two numbers are requested from the user and placed in 'a' and 'b' variable using scanf. The value of the variable are checked using 'if' structure. If value in a is greater than value of a will be displayed as greater else value of b is displayed as greater number in comparision.

Output


Comments

Popular posts from this blog

C program to display prime numbers between 1 to 100.

Progarm to state that a person can cast vote or not. [Note: A person can cast vote if he is 18 years old or above]

ChatGPT on smartwatches