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, 21.06.2019 14:00
Mr. johnson creates a game in which the players see the world from their avatar’s perspective. what genre of game is this?
Answers: 2
question
Computers and Technology, 22.06.2019 14:00
Which database model is best used for data warehouse and data mining
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
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
Social Studies, 24.11.2020 09:10
question
Mathematics, 24.11.2020 09:10
question
English, 24.11.2020 09:10
question
Mathematics, 24.11.2020 09:10
question
Mathematics, 24.11.2020 09:10