Solved

What Will Be the Output After the Following Code Is

Question 35

Multiple Choice

What will be the output after the following code is executed and the user enters 75 and 0 at the first two prompts?
What will be the output after the following code is executed and the user enters 75 and 0 at the first two prompts?   A)  ERROR: cannot have 0 items B)  ERROR: number of items can't be negative C)  0 D)  Nothing; there is no print statement to display average.


A) ERROR: cannot have 0 items
B) ERROR: number of items can't be negative
C) 0
D) Nothing; there is no print statement to display average.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents