subject

There are two debugs here that need fixed and that is why i am offering such a high number of points. i will award the points once i test and run the corrected debugs if they work right i will award points right away.

1. // this class calculates a waitperson's tip as 15% of the bill

public class debugthree1

{

public static void main(string args[])

{

double mycheck = 50.00;

double yourcheck = 19.95;

system. out. println("tips are");

calctip(mycheck);

calctip(yourcheck);

}

public static int calctip(int bill)

{

final double rate = 0.15;

tip = bill + rate;

system. out. println("the tip should be at least " + tip);

}

}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being displayed?
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
Carmina works at a fast-food restaurant. during the slow afternoon hours, carmina always find projects to keep her busy, like washing all the trays or deep-cleaning the drive-thru area. what workplace habit does carmina show by doing this? efficiency initiative interpersonal skills problem solving
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
What is the relation between information and data?
Answers: 3
You know the right answer?
There are two debugs here that need fixed and that is why i am offering such a high number of points...
Questions
question
Mathematics, 20.01.2021 14:30
question
Mathematics, 20.01.2021 14:30
Questions on the website: 13722363