

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


#include
else if(avg>60 && avg<=70) { cout<<'C'; } else if(avg<=60) { cout<<'F'; } getch(); cout<<endl; } }; int main() { s obj; cout << obj.a("Alpana", 18) << endl; cout << obj.a(10, 20, 30, 40, 50, 5) << endl; cout << obj.a(10, 20, 30, 40, 50) << endl; return 0; }