First Commit

This commit is contained in:
2021-04-25 15:28:50 +05:30
commit c3dbda79c4
22 changed files with 138 additions and 0 deletions

9
MaximumNo.c Normal file
View File

@@ -0,0 +1,9 @@
// WAP to find maximum number using conditional operator.
void main() {
int a,b,max;
printf("Enter the two numbers\n");
scanf("%d%d",&a,&b);
max=(a>b)?a:b;
printf("Maximum between %d and %d is %d",a,b,max);
}