1. Write a program in java to find the price of a book after a discount. The market value of the book is 1000 and it is been sold at a discount of 12% .[Hint : s = 100 - 25, amount = (s*1000)/100;].
2. Write a program in java to multiply two numbers with fractional values where the user will give inputs of two numbers.
Answers
Answered by
5
Input: M = 120, S = 100 Output: 16.66% Input: M = 1000, S = 500 Output: ... CPP Program to find the Discount Percentage ... Setting the precision to 2 decimals.
Answered by
8
Write a program in java to multiply two numbers with fractional values where the user will give inputs of two numbers.
Attachments:
Similar questions
Science,
2 months ago
India Languages,
2 months ago
English,
6 months ago
Social Sciences,
10 months ago
English,
10 months ago
English,
10 months ago