Computers and Technology

What is the output of the following program segment? int main(){float hours = 8; float payrate = 5.5; // per hourfloat grosspay = 0.0; grosspay = calcgrosspay (hours, payrate); displaygrosspay(grosspay); return 0; }float calcgrosspay(float hrs, float payrt){return hrs * payrt; }void displaygrosspay(float gpay){cout < < "gross pay is "< < gpay < < endl; } a. 44b. gross pay is 44c. gross pay is gpayd. all of the above

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 20:00, boo3972
Match the file formats with the types of multimedia they can store
Answers: 2
image
Computers and Technology, 23.06.2019 21:30, shadoris26
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
image
Computers and Technology, 24.06.2019 00:40, dheydar3506
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
image
Computers and Technology, 24.06.2019 01:30, jadaroyval
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
Do you know the correct answer?
What is the output of the following program segment? int main(){float hours = 8; float payrate = 5.5...

Questions in other subjects:

Konu
Chemistry, 06.01.2021 01:50
Konu
Mathematics, 06.01.2021 01:50
Konu
Mathematics, 06.01.2021 01:50