Answer to Question #303063 in C++ for Babyboo

Question #303063

For you to be allow to participate in on going convocation,you must have meet up with the school criteria and completed your registration. If any of these conditions are not met , you can not be eligible to graduate with the present graduating students. Write a c++ program for the automation of this system

1
Expert's answer
2022-02-27T03:56:52-0500


Solution code

#include <iostream>
using namespace std;


int main()
{
    int criteria_response;
    cout << "Have you met with the school criteria: and completed your registration.: "<<endl;;
    cout<<"Enter 1 for YES and any other number for NO"<<endl;
    cin >> criteria_response;
    
    int registration_response;
    cout << "Have you completed your registration.: "<<endl;;
     cout<<"Enter 1 for YES and any other number for NO"<<endl;
    cin >> registration_response;
   
   if(criteria_response==1 && registration_response==1 )
   {
   	cout<<"The student is eligible for graduation"<<endl;
   }
   else
   {
   	cout<<"The student is not eligible for graduation"<<endl;
   }
    




    return 0;
}


sample output







Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog