subject

Look at the following program and answer the question that follows it. they are multiple choice i need the correct one and explanation
1 // this program displays my gross wages.
2 // i worked 40 hours and i make $20.00 per hour.
3 #include
4 using namespace std;
5
6 int main()
7 {
8 int hours;
9 double payrate, grosspay;
10
11 hours = 40;
12 payrate = 20.0;
13 grosspay = hours * payrate;
14 cout < < "my gross pay is $" < < grosspay < < endl;
15 return 0;
16 }
which line(s) in this program cause output to be displayed on the screen?
a) 13 and 14
b) 8 and 9
c) 14
d) 13
e) 15

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:40, debo4965
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
image
Computers and Technology, 22.06.2019 08:10, Bearboy5957
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
image
Computers and Technology, 24.06.2019 00:10, roxymiller3942
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
Answers: 1
image
Computers and Technology, 24.06.2019 16:00, codycollier
To fill (copy) a cell across or down, point to the of the cell and drag. top left corner top right corner bottom left corner bottom right corner
Answers: 3
You know the right answer?
Look at the following program and answer the question that follows it. they are multiple choice i ne...

Questions in other subjects:

Konu
Mathematics, 20.03.2020 07:20
Konu
Mathematics, 20.03.2020 07:20
Konu
Mathematics, 20.03.2020 07:20