subject

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

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
question
Computers and Technology, 23.06.2019 22:40
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Carlos, an algebra teacher, is creating a series of powerpoint presentations to use during class lectures. after writing, formatting, and stylizing the first presentation, he would like to begin writing the next presentation. he plans to insert all-new content, but he wants to have the same formatting and style as in the first one. what would be the most efficient way for carlos to begin creating the new presentation? going under the file tab and opening the first presentation, deleting all content from each page, and adding new content going under the file tab and clicking on new in the left pane, then choosing new from existing going under the design tab and clicking on themes, then selecting the theme that was used for the first template going under the design tab and opening the template that was created for the first presentation
Answers: 2
You know the right answer?
2. what is the effectof the following code fragment?
int num1 = 2;
int num2;
ci...
Questions
question
Mathematics, 18.02.2022 23:20
question
Mathematics, 18.02.2022 23:30
Questions on the website: 13722367