Consider the following program:
#include
using namespace std;
void func1();...
![subject](/tpl/images/cats/informatica.png)
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?
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 18:40
Adna sequence encoding a five-amino acid polypeptide is given below. β¦β¦ β¦β¦ locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 20:20
Sometimes writers elaborate on the truth when recalling past events so they can enhance their narrative essay with more interesting descriptions. do you feel that published writers should or should not embellish real life events just to make their stories more interesting?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 01.04.2021 21:40
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/en.png)
English, 01.04.2021 21:40
![question](/tpl/images/cats/mat.png)
Mathematics, 01.04.2021 21:40
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.04.2021 21:40
![question](/tpl/images/cats/mkx.png)
Arts, 01.04.2021 21:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 01.04.2021 21:40
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 01.04.2021 21:40
![question](/tpl/images/cats/mat.png)
Mathematics, 01.04.2021 21:40
![question](/tpl/images/cats/mat.png)
Mathematics, 01.04.2021 21:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 01.04.2021 21:40