Consider the following program:
#include
using namespace std;
void func1();...
Computers and Technology, 04.04.2020 06:05, madiburnss
Consider the following program:
#include
using namespace std;
void func1();
void func2();
int main()
{
int num;
cout << "Enter 1 or 2: ";
cin >> num;
cout << endl;
cout << "Take ";
if (num == 1) func1();
else if (num == 2) func2();
else cout << "Invalid input. You must enter a 1 or 2" << endl;
return 0;
}
void func1()
{
cout << "Programming I." < }
void func2()
{
cout << "Programming II." < }
1. What is the output if the input is 1?
2. What is the output if the input is 2?
3. What is the output if the input is 3?
4. What is the output if the input is -1?
Answers: 1
Computers and Technology, 22.06.2019 09:50, shadow29916
What is a rush associated with alcohol?
Answers: 1
Computers and Technology, 22.06.2019 15:30, mariap3504
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
Computers and Technology, 23.06.2019 08:30, Bradgarner772
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
Social Studies, 12.08.2021 09:10
Mathematics, 12.08.2021 09:10
History, 12.08.2021 09:10