Example: Blank Receipt

Write a method, which prints a blank receipt. The method should call another three methods: one to print the header, one for the middle part of the receipt and one for the lower part.

Part of the receipt Text
Upper part CASH RECEIPT
------------------------------
Middle part Charged to____________________
Received by___________________
Lower part ------------------------------
(c) SoftUni

Sample Input and Output

Input Output
(няма) CASH RECEIPT
------------------------------
Charged to____________________
Received by___________________
------------------------------
(c) SoftUni

results matching ""

    No results matching ""