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, 22.06.2019 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
Answers: 1
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, 15.12.2020 01:40
question
Mathematics, 15.12.2020 01:40
question
Health, 15.12.2020 01:40
question
Chemistry, 15.12.2020 01:40
question
Mathematics, 15.12.2020 01:40
question
History, 15.12.2020 01:40
Questions on the website: 13722361