English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how to write this program ...else i wanna get the written program

2007-01-20 02:17:39 · 1 answers · asked by nishith k 1 in Education & Reference Homework Help

1 answers

#include
#include
void main()
{
int n, i, a, big = 0;
printf("How many total numbers...\n");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
printf("\nEnter the number:");
scanf("%d",&a);
if (a>big)
big=a;
}
printf("The largest number is %d",big);
getch();
}

I hope this helps you.

Regards,
Praveen Kumar

2007-01-20 02:57:30 · answer #1 · answered by P Praveen Kumar 5 · 0 0

fedest.com, questions and answers