#include<iostream.h>
#include<conio.h>
int lg, a;
void gi()
{
cout<< "Enter Lowest Grade:";
cin>>lg;
cout<< "Enter Average:";
cin>>a;
clrscr();
}
void display()
{
cout<< "Lowest Grade:"<<lg<<"\n";
cout<< "Average Grade:"<<a<<"\n";
}
void eval()
{ char ch;
if(lg>=85 && a>=92)
cout<<"Remarks: Full SCHOLAR";
if(lg>=85 && a>=90 && a<=91.99)
cout<<"Remarks: Half SCHOLAR";
if(lg>=80 && a>=85 && a<=89)
cout<<"Remarks: Dean's Lister";
else
cout<<"Remarks: DISQUALIFIED";
cout<<"\nWant another transaction?[y/n]:";
cin>>ch;
//I want this part to return to my User defined function..gi();
}
void main()
{
gi();
display();
eval();
}
i do not know how to return to gi();....any suggestions senpai?