Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Ele Edit View Window Hep 21 Quick Connect i Profiles Problem #16: [TIME LEFT = 0

ID: 3920268 • Letter: E

Question

Ele Edit View Window Hep 21 Quick Connect i Profiles Problem #16: [TIME LEFT = 01:46:49 ] [Points = 101 chmod: WARNING: can't access prog.cpp chmod: WARNING: can't access ans.cpp 7 11 Function: Complete the following progran to read credit hours earned, and to print out the student's classification: 0-30 hours: FRESHMAN 31-60 hours: SOPHOMORE over 60 hours: UPPERCIASSMAN WARNING: DO NOT ISSUE PROMPTS or LABEL OUTPUT tinclude ciostream> using namespace std: int main( cout (3) Edit, compile and test the code in file prog.cpp. Hit ENTER to view PREVIOUS Answer: Connected to douglass SSH2 aes128-cbc- hmac-md5-ne 8039

Explanation / Answer

int c;

cin>>c;

if(c>=0 & & c<31)

cout<<"FRESHMAN" ;

else if (c>30 & & c<61)

cout<<"SOPHOMORES" ;

else if(c>60)

cout<<"SENIOR" ;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote