subject

Sammy’s Seashore Supplies rents beach equipment such as kayaks, canoes, beach chairs, and umbrellas to tourists. Write a program that prompts the user for the number of minutes they rented the piece of sports equipment. Compute the rental cost as $40 per hour plus $1 for each additional minute. (Fix the logic error from Sammy's Rental program) Display Sammy’s motto "Sammy’s makes it fun in the sun" surrounded by a border composed of repeated "Ss."

My teacher is using the programs and wants the answers for the total cost to be specific, so the numbers that i put in, example 105, he wants the total cost to be 80 and it comes out as 85, and 75 where the total cost should be 55 but it comes out as 50

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:40
Write the quartstogallons java class that declares a named constant to hold the number of quarts in a gallon (4). also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values, for example:
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
question
Computers and Technology, 24.06.2019 09:50
Create a string list. 2. use console.readline() to collect values of firstname, lastname, street, city, state, zip, save them to list. 3. write a simple linq statement, call method uppercasewords() to change first letter to uppercase. 4. create a foreach statment to display the information. public static string uppercasewords(string value) { char[] array = value.tochararray(); if (array.length > = 1) { if (char.islower(array[0])) { array[0] = char.toupper(array[0]); } } for (int i = 1; i < array.length; i++) { if (array[i - 1] == ' ') { if (char.islower(array[i])) { array[i] = char.toupper(array[i]); } } } return new string(array);
Answers: 3
question
Computers and Technology, 24.06.2019 13:00
Why should you evaluate trends when thinking about a career path?
Answers: 1
You know the right answer?
Sammy’s Seashore Supplies rents beach equipment such as kayaks, canoes, beach chairs, and umbrellas...
Questions
question
History, 07.03.2020 02:27
question
Mathematics, 07.03.2020 02:27
Questions on the website: 13722363