Saturday
August 23, 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 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 - Write a program that asks the users to enter five test scores...
programming - Java program which allows the user to enter data for one ...
Java - write a java program to read a record name, age, and salary. Calculate ...
Java - I am trying to write an algorithm for my JAVA class and am having some ...

Search
Members