I have to do C++ program that input the number 3 and prints yes I consent for to attend and a second input of the 6 and prints out Please send an alert when she is leaving the event.
#include <iostream>
usingnamespace std;
int main()
{
int num1, num2;
cout << "Enter a number." << endl;
cin >> num1;
if (num1 == 3)
{
cout << "yes I consent for to attend" << endl;
}
cout << "Enter a number." << endl;
cin >> num2;
if (num2 == 3)
{
cout << "Please send an alert when she is leaving the event." << endl;
}
return 0;
}