DRAW A FLOWCHART FOR GIVEN PROGRAM. source code:
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int i,num,n,largest=0;
printf("How many numbers:");
scanf("%d",&n);
for(i=0;i<n;i++)
{
printf("\nEnter number%d:",i+1);
scanf("%d",&num);
{
largest=num;
}
}
printf("\nThe largest value is:%d",largest);
getch();
}
Share
0 Replies