Saturday
November 29, 2014

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.please help - Write a Java program that prompts the user for a string. If ...
java programming - write a java program using arrays function for hotel bill ...
java - Write a java application that finds the smallest of several integers. ...
java - can anyone help me with this? I'm new to java! Write a program that will ...
Java Programming - I'm new to Java and I'm not sure how to write the source code...
java programming - Your boss at Ruritania Weather Center (RWC) has asked you to ...
java programming - Create a java program that will calculate the current grade ...
JAVA PROGRAMMING - Create a java program that will calculate the current grade ...

Search
Members