subject
Mathematics, 29.07.2019 12:30 jaylennkatrina929

Onsider the following pseudocode function. function crunch(x r) if x ≥ 100 then return x/100 else return x + crunch(10 · x) (a) compute crunch(4). crunch(4) = (b) what happens if you try to compute crunch(−23)? what does this suggest about an appropriate precondition for this function?

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:30, kmshacklette9879
What are the measures of ∠a, ∠b, ∠c and ∠d? explain how to find each of the angles. measure need asap
Answers: 1
image
Mathematics, 21.06.2019 18:40, miguel3maroghi
Some boys and girls were asked if they had a pet. one third of the group were boys. there were 20 boys. 20% of the girls had a pet. boys with a pet : girls with a pet = 1 : 5 i need to know how many girls there are.
Answers: 3
image
Mathematics, 21.06.2019 19:30, gyliahicks
Jada has a meal in a restaurant she adds up the prices listed on the menu for everything they ordered and gets a subtotal of $42.00. after tax the total is 45.99. what percentage of the subtotal is the total?
Answers: 2
image
Mathematics, 21.06.2019 23:00, thebrain1345
The price of a car has been reduced from $19,000 to $11,590. what is the percentage decrease of the price of the car?
Answers: 1
You know the right answer?
Onsider the following pseudocode function. function crunch(x r) if x ≥ 100 then return x/100 else re...

Questions in other subjects:

Konu
Chemistry, 07.01.2020 22:31