Skip to content

here we would know about how if and else statement works in comparision

Notifications You must be signed in to change notification settings

sumit454/if-else-statement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

#include<stdio.h> #include<conio.h> void main() { int num1,num2; clrscr(); printf("\nEnter the value of num1 and num2:"); scanf("%d%d",&num1,&num2); if(num1>num2) { printf("\n num1 is greater than num2"); } else { printf("\n num2 is greater than num1"); } grtch(); }

About

here we would know about how if and else statement works in comparision

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published