Hi .. try this code.
One prerequisite is, evry line in the file should end with a (.)dot. Also, i ve printed lines with atleast two vowels. U can modify it as per ur wish
#include<stdio. h>
int isvowel(char);
void main()
{
FILE *out,*in,*fptr;
int sum=0,j,cnt=0,i =0,line=0;
long choice,option,r ollno,sex,marks ;
char file_name[30];
char c;
...
Leave a comment: