- – Written in Turbo C++
- # include <stdio.h>
- #include<conio.h>
- void main()
- {
- int a, b, c, maxi ;
- clrscr();
- printf(” Enter Three numbers : “) ;
- scanf(“%d %d %d”, &a, &b, &c) ;
- maxi= a > b ? (a > c ? a : c) : (b > c ? b : c) ; // use of ternary OP
- printf(“\n Maximum of three number : %d”, maxi) ;
- getch();
- }
- About Us
- Courses
- Project Training
- ict_ahmedabad
- Knowledge Blog
- Contact Us