Skip to content

Commit

Permalink
C program no dosfstools#2
Browse files Browse the repository at this point in the history
C program to find the greatest of two numbers
  • Loading branch information
zuber147 committed Oct 5, 2020
1 parent cc75143 commit 13739ab
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions C program no #2
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// C program to find the greatest of two numbers

#include<stdio.h>
int main()
{
//Fill the code
int num1, num2;
scanf(“%d %d”,&num1,&num2);
if(num1 > num2)
{
printf(“%d is greater”,num1);
}
else
{
printf(“%d is greater”,num2);
}
return 0;
}

0 comments on commit 13739ab

Please sign in to comment.