Computer Science, asked by rupaghoshaliva, 6 months ago

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 Simi6310
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 Anonymous
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