answersLogoWhite

0


Best Answer

import java.io.*;

public class SalesReceipt{

public static void main(String Args[]) throws IOException{

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in));

String sold = "";

System.out.println("\t\tCASH INVOICE");

System.out.println("\t\tInvoice No: 0000001");

System.out.print("Sold To: ");

sold=dataIn.readLine();

String Date = "";

System.out.print("Date: ");

Date=dataIn.readLine();

String D1 = "";

System.out.print("Item 1: ");

D1=dataIn.readLine();

String D2 = "";

System.out.print("Item 2: ");

D2=dataIn.readLine();

String D3 = "";

System.out.print("Item 3: ");

D3=dataIn.readLine();

String a,b,c,d,e,f;

System.out.print("Please Enter Price of Item 1: ");

a=dataIn.readLine();

System.out.print("Please Enter Quantity of Item 1: ");

b=dataIn.readLine();

System.out.print("Please Enter Price of Item 2: ");

c=dataIn.readLine();

System.out.print("Please Enter Quantity of Item 2: ");

d=dataIn.readLine();

System.out.print("Please Enter Price of Item 3: ");

e=dataIn.readLine();

System.out.print("Please Enter Quantity of Item 3: ");

f=dataIn.readLine();

int g = Integer.parseInt(a);

int h = Integer.parseInt(b);

int i = Integer.parseInt(c);

int j = Integer.parseInt(d);

int k = Integer.parseInt(e);

int l = Integer.parseInt(f);

System.out.println("\t\tCASH INVOICE");

System.out.println("\t\tInvoice No: 0000001");

System.out.println("\nSold to: " + sold + "\t\tDate: " + Date);

System.out.println("\nNo." + "\tDescription" + "\tQuantity" + "\tUnit Price" + "\tAmount");

System.out.println("No1 \t" + D1 + "\t" + "\t" + b + "\t" + "\t" + a + "\t" + "\t" + ( g*h ));

System.out.println("No2 \t" + D2 + "\t" + "\t" + d + "\t" + "\t" + c + "\t" + "\t" + ( i*j ));

System.out.println("No3 \t" + D3 + "\t" + "\t" + f + "\t" + "\t" + e + "\t" + "\t" + ( k*l ));

System.out.println("\n\n\t\t\t\t\tSub-Total Amount: " + (k*l+i*j+g*h));

System.out.println("\n\t\t\t\t\tDeposit Paid: 0");

System.out.println("\n\t\t\t\t\tTotal Amount: " + (k*l+i*j+g*h));

}

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the list of musical instruments that produce high sounds?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are two musical instruments that produce high-pitched sounds?

a kazoo and a recorder


Where can one purchase high quality kid's musical instruments?

You can purchase high quality kid's musical instruments online at the Palm Kids website. Alternatively, you can purchase these instruments from retailers such as Amazon.


What kind of instruments does Cecilio Musical Instruments offer?

The kind of instruments that Cecilio Musical Instruments offers would be classified as hand crafted and high quality. They have instruments including string, brass and woodwind.


High pitched musical instruments?

One high pitched musical instrument is an oboe. Other high pitched musical instrument include a flue and a piccolo.


Where can one find Paiste 2002 products?

Paiste 2002 are cymbals with varying tones and sizes depending on the sound you want to produce. They can be bought from reputable high street musical instruments stores, and online.


Who does lucas love in high school musical?

He loves the music.He plays some instruments such as the piano.


What type of products does Keeler Instruments produce?

Keeler Instruments produce high quality precision ophthalmic instruments and have for over ninety years. They have a website which will show you pictures of the products produced and YouTube will show you videos of the instruments being used.


If you make a musical instrument shorter will it have a high or low frequency?

Smaller instruments produce higher frequencies. Compare, for example, the violin, the viola, and the bass. All have the same shape, but increasing size, with correspondingly lower pitch.


Why is east high from high school musical in Mexico?

it is easier to produce films in Mexico then in the united states


Objects that vibrate with a high frequency produce sounds with a high what?

Higher frequencies produce the perception of higher pitch sound. A woman's voice generally contains sounds with higher frequencies than a man's voice contains. An infant's voice contains higher frequencies than an adult's voice does.


What is the medical term meaning Musical sounds heard during expiration?

Wheezes - continuous high-pitched whistling sounds produced during breathing


Which stringed instrument plays the highest notes?

The highest frequency the human ear can percieve is 20,000Hz (20KHz), however most musical instruments can only hit C8 (which is approximately 4,400Hz). The standard Organ can reach this note, however Synthesizers can, in theory, produce notes above the range of human hearing. It should also be remembered that 'instruments' such as a dog-whistle can produce notes above the range of human hearing.