#include<stdio.h>
main()
{
float eavg=0,oavg=0;
int num[10],i,m=0,n=0,t;
printf("enter numbers\n");
for(i=0;num[i]!=0;i++)
{
Type: Posts; User: reeneet; Keyword(s):
#include<stdio.h>
main()
{
float eavg=0,oavg=0;
int num[10],i,m=0,n=0,t;
printf("enter numbers\n");
for(i=0;num[i]!=0;i++)
{
hi i am ravindra
1.declare file pointer
2.open the file using fopen()
3.use getc(fp) to read from the file.
4.close the file when pointer reaches end of file.