huskylover1013 huskylover1013
  • 14-12-2021
  • Computers and Technology
contestada

PLEASE HELP I NEED TO CHECK MY ANSWER ASAPPP

8. Based on the following syntax, what is a likely output for this code snippet if "number" was 35.555

return count(amount_owed. 2)

O 35.555
O 35.55
O 36
O 40

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 17-12-2021

Functions are code segments that are executed when called or invoked

The function definition is not given; so, the output of the program cannot be outrightly determined.

However, the following are the possible scenarios.

  • The program would return 35.55 if the 2 represents the digits after decimal.
  • The program would return 36 if the 2 represents the significant digits.

It is unlikely for the program to return (a) 35.555 and (d) 40

Read more about functions at:

https://brainly.com/question/14284563

Answer Link

Otras preguntas

In part two of Trifles, what symbolic impact is made when Susan Glaspell includes quilting as a part of Mrs. Wright’s lifestyle? a. It reinforces the idea that
What is the original source of energy in a food chain
Outsiders "Dallas Winston could do anything." What specific evidence from chapter 4 supports Pony's statement?
What are devices that move atomic nuclei at extremely high speeds
why does a mutation not always lead to a visable change
A compound has a molar mass of 90 grams per mole and the empirical formula CH2O. What is the molecular formula of this compound?
Please help this nouns
what is the value of 8/15÷(-0.35) A -75/14 B -32/21
Richard mows 1/3 of his yard in 1/2 hour. How much of his yard would Richard mow in 1 hour?
in the ground state, which noble gas has atom with the same electrons configuration as a magnesium ion