You Are The Visitor Number

Thursday, March 13, 2008

/* Program to find Largest of three numbers */

This Program will tell you which number the largest of all the three number you have entered. For example you have entered 16, 25, 41 obviously it will tell 41 as largest of all. Programs are created with utmost care. User may check the logic error if any please report me immediately as a comment on this web page. Remember C is not for fear it's for Enjoy Dear!!!!

/* Program to find Largest of three nos. */

/* Author Mitochondria Technologies Inc. */

#include<stdio.h>

#include<conio.h>

void main()

{

int x,y,z,large;

clrscr();

printf("Enter three numbers : ");

scanf("%d%d%d",&x,&y,&z);

large=x;

if (y>large)

large=y;

if (z>large)

large=z;

printf("The Biggest no. is :%d",large);

getch();

}


 

No comments: