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 22:00
What must you do before formatting a paragraph?
Answers: 1
question
Computers and Technology, 22.06.2019 10:30
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
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, 17.12.2020 18:50
question
English, 17.12.2020 18:50
question
English, 17.12.2020 18:50
question
Mathematics, 17.12.2020 18:50
question
Mathematics, 17.12.2020 18:50
Questions on the website: 13722361