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";

Questions about programming?Chat with your personal AI assistant