#include <stdio.h>
#include <conio.h>
//Largest Number - FScOnline.info
int main()
{
int i,num,n,large=0;
printf("How many numbers: ");
scanf("%d",&n);
for(i=0; i<n; i++)
{
printf("\nEnter number %d: ",i+1);
scanf("%d",&num);
if(num>large)
large=num;
}
printf("\n\nThe Largest Number is %d",large);
getch();
return 0;
}
Trending
- NADRA Islamabad Announced Latest April Jobs 2024
- TEVTA Sargodha Announced Instructor / Clerk Jobs 2024
- BPSC Announced Latest Jobs Through Advertisement no. 03/2024
- All Subjects 12th Class Paper Scheme 2024 | Punjab Board
- 12th Class Computer Science Paper Scheme 2024 Punjab Board
- 9th Class Pakistan Studies Guess Papers 2024 Punjab Board
- 12th Class Biology Paper Pairing Scheme 2024 Punjab Board
- Physics 12th Class Paper Scheme 2024 Punjab Board



1 Comment
what to do if 2 no. are equal and each int is stored in a variable, and u need to print the name of both variable