subject

Bianca is preparing special dishes for her daughter’s birthday. it takes her x minutes to prepare the first dish, and each subsequent dish takes y minutes longer than the previous dish. she has t minutes to prepare the dishes. for example, if the first dish takes x = 10 minutes and y = 5 minutes, then the second dish will take 15 minutes, the third dish will take 20 minutes, and so on. if she has 80 minutes to prepare the dishes, then she can complete four dishes within that time limit because 10 + 15 + 20 + 25 = 70. note that she does not have enough time to complete a fifth dish as she only has 10 minutes left and the next dish would require 30 minutes. write a program that accepts the values x, y, and t, and outputs the number of dishes that bianca can complete. input format is: x y t testcase: (input / output) 10 10 60 3

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 23.06.2019 15:10
What role did women fill during world war ii?
Answers: 1
You know the right answer?
Bianca is preparing special dishes for her daughter’s birthday. it takes her x minutes to prepare th...
Questions
question
Mathematics, 05.12.2020 21:00
question
Mathematics, 05.12.2020 21:00
question
Social Studies, 05.12.2020 21:10
Questions on the website: 13722360