Generation

translateMon, 27 Mar 2023

lose the grade of a subject if the grade is less than 6 print failed, if the grade is greater than 6 print approved

int grade; cin >> grade; if(grade < 6) cout << "failed"; else cout << "approved";

Want to kickstart your project?Use the new AI Studio to create your code