2. what is the effectof the following code fragment?
int num1 = 2;
int num2;
ci...
Computers and Technology, 17.07.2019 19:10 paige1614
2. what is the effectof the following code fragment?
int num1 = 2;
int num2;
cin> > num2;
if(num2%num1 == 0)
cout< < "first option"< else
cout< < "second option"< a. assigns the character'%' to the variable num2 if num1 is 0, and displays firstoption
b. displays first option if num1 and num2 are equal to 0, andsecond option otherwise
c. displays first option if an even number is enteres as input, andsecond option if an odd number is entered as input
d. displays first option if num1 and num2 are equal and secondoption otherwise
Answers: 2
Computers and Technology, 25.06.2019 00:00
When pasting an existing chart into a word document, you can choose to using the paste options button. a. paste the chart as a picture b. embed the chart c. add the chart while keeping the destination formatting intact d. insert the chart while keeping the source formatting intact
Answers: 1
Computers and Technology, 25.06.2019 04:00
What was the name of the first computer (machine) language?
Answers: 2
Computers and Technology, 25.06.2019 08:10
Why should the technician watch for signs of contamination in the oil when recovering refrigerant from a system
Answers: 3
Computers and Technology, 25.06.2019 11:30
How do you put a picture with your question? i need to put a picture with my question
Answers: 1
Mathematics, 16.10.2021 22:20
Mathematics, 16.10.2021 22:20
Mathematics, 16.10.2021 22:20
Mathematics, 16.10.2021 22:20
History, 16.10.2021 22:20
Business, 16.10.2021 22:20
Social Studies, 16.10.2021 22:20
History, 16.10.2021 22:20
Mathematics, 16.10.2021 22:20
Spanish, 16.10.2021 22:20
Mathematics, 16.10.2021 22:20
Mathematics, 16.10.2021 22:20
Chemistry, 16.10.2021 22:20