Sunday
March 29, 2015

Homework Help: Java Programming

Posted by P on Sunday, October 31, 2010 at 12:20pm.

I'm a beginner to Java and I need to know how to do the following:

Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax). Hint: Use the value 0.02 to represent 2 percent, and 0.04 to represent 4 percent.

Can anybody help me?

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

programming - Write a program which allows user to enter 10 student names and ...
programming - Having troube with java, i am not a regular programmer, if anybody...
java - can anyone help me with this? I'm new to java! Write a program that will ...
java programming - Create a java program that will calculate the current grade ...
JAVA PROGRAMMING - Create a java program that will calculate the current grade ...
java programming - Your boss at Ruritania Weather Center (RWC) has asked you to ...
java - Write a java application that finds the smallest of several integers. ...
java programming - write a java program using arrays function for hotel bill ...
C Programming - Write a program that prompts the user to enter a temperature, ...
Computer Programming - Need Python pseudocode and program that asks the user to ...

Members