0% found this document useful (0 votes)
144 views2 pages

Overloaded Methods for Greetings and Pricing

Two overloaded methods were created to display greeting messages using first and last names as parameters. Two additional overloaded methods were written to calculate total item prices using total items and price per item as floating-point number parameters.

Uploaded by

Rixie Sansano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views2 pages

Overloaded Methods for Greetings and Pricing

Two overloaded methods were created to display greeting messages using first and last names as parameters. Two additional overloaded methods were written to calculate total item prices using total items and price per item as floating-point number parameters.

Uploaded by

Rixie Sansano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Create two (2) overloaded method that display a greeting message and use first name and last name
as its parameter.
2. Write two (2) overloaded methods that will compute the total price of an item. Use the total item and
price as parameters, which are both floating-point numbers.

You might also like