Credits

Sunday, March 15, 2009

Brain Twister in C and Java's Methods and Structures

With the previous knowledge on functions of C and methods in Java with advance data structures of C.

Create a C or a Java program that creates this sample input and output:

Click the link to view/hide more.

[+/-] show/hide



Input:
Item Code: 001
Item Description: ABC Pants
Unit Price: 400.00
Quantity: 2
Output:
Total Charges: 800.00
Cash:1000.00 /*must be encoded*/
Change: 200.00

Integrate a loop, so the user may input another item.

AddThis