How To find the biggest number out of the three numbers using C programming
To find the biggest number out of the three numbers using C programming just copy the bellow code and paste it to your TurboC software. And then run the program. #include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("Enter any three numbers : "); scanf("%d\n%d\n%d",&a,&b,&c); if ((a>b) && (a>c)) printf("\n The biggest number : %d",a); else if (b>c) printf("\n The biggest number : %d",b); else printf("\n The biggest number : %d",c); getch(); }
I am Arpan Paramanik From India and i am the founder of the blog ENGINEER's TIPS.I Very Much interest in blogging by reading articles online. Mine thirst for learning latest web technologies like HTML, CSS, C, C++ and JavaScript equipped me with an art of web designing. I am now a good designer…’
0 comments:
Post a Comment