Computer Science, asked by anna2005, 8 months ago

VI. Unsolved Java Programs based on Methods:
1. Write a program in Java using a method Discount ), to calculate a single discount
or a successive discount. Use overload methods Discount(int), Discount(int,int) and
Discount(int intint) to calculate single discount and successive discount respectively
Calculate and display the amount to be paid by the customer after getting discounts
on the printed price of an artide.
Sample Input Printed price: 712000
Successive discounts 10%, 8%
(12000 - 1200)
(10800 - 864)
Amount to be paid *9936
2. Write a program to input a number. Use a function int Armstrong(int n) to accept​

Attachments:

Answers

Answered by baljinderkaur5238
1

Answer:

xg gxhhcchvjjcchchchchchcj

Similar questions