Skip to content

Commit a46bb0a

Browse files
Create 3.c
1 parent 1d1bb2c commit a46bb0a

File tree

1 file changed

+9
-0
lines changed
  • Basic-Programming/BASIC

1 file changed

+9
-0
lines changed

Basic-Programming/BASIC/3.c

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Write a C program to find the biggest among the given 3 integers?
2+
3+
#include<stdio.h>
4+
int main()
5+
{
6+
int a,b,c;
7+
scanf("%d%d%d",&a,&b,&c);
8+
(a>b && a>c)?printf("%d",a):(b>c)?printf("%d",b):printf("%d",c);
9+
}

0 commit comments

Comments
 (0)