Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 544 Bytes

File metadata and controls

18 lines (14 loc) · 544 Bytes

Harry’s mom gave him money and asked him to buy some oranges and apples. Write a program to help Harry calculate how much money the shopkeeper will return. Input: The first line of the input is the taka Harry’s mom gave him. The second line is the cost of 1 kg of oranges and 1 kg of apples. Output: Print the result.

Practice Problem 1

Sample Input: 1000 700 Output: 300

Source: https://drive.google.com/drive/u/1/folders/1FbntkDTYNA33BuiqJ9TVF9-YWlqvhZch