Math, asked by adityapal1025359, 3 months ago

She asked the cashier to give her 500 ant
2000 currency notes in return. She got 125 currency notes in all. Find the number of each kindd
currency notes.
8. The sum of the digits of a 2-digit number is 6. On reversing its digits, the number is 18 less than the
original number. Find the number.
9. The sum of the digits of​

Answers

Answered by poonamggsss2
0

Answer:

Using User-Defined Function

1) Read the entered amount and put it in the variable m. 2) The user-defined function denomination will divide the amount in to 500,100,50,20,10,5,2,1 rupees notes. Int array a[8]={500,100,50,20,10,5,2,1}.

Answered by MsLioNess14
0

 \huge \dag{ \purple{Answer}}

  1. Let the number of 500 rupee notes be x
  2. Let the number of 2,000 rupee notes be y
  3. According to the question,
  4. 500x + 2,000y = 2,00,000
  5. => x + 4y = 400
  6. => x = 400 - 4y (1)
  7. Also,
  8. x + y = 250
  9. Substituting value of x from (1),
  10. 400 - 4y + y = 250
  11. => -3y = -150
  12. => y = 50
  13. Putting value of y in (1),
  14. 400 - 4 (50)
  15. = 400 -200
  16. =200
  17. The number of 500 rupee notes = 200
  18. The number of 2000 rupee notes = 50
  19. Let the digit at one's place be x
  20. The sum of the digits is 6
  21. Let the digit at ten's place be (6-x)
  22. Let the value of the unit digit be x*1=x
  23. let the value of the ten's digit be (6-x)*10
  24. =60-10
  25. original number= 60-10x+x =60-9x
  26. on reversing the digits = 6-x*1 + x*10
  27. 6-x+10x
  28. 6+9x
  29. ATQ
  30. (60-9x)-18 = 6+9x
  31. 60-18-6 = 9x+9x
  32. 36 = 18x
  33. x = 36/18
  34. x = 2
  35. So, therefore the original no is
  36. (6-x)*10 + (x)*1
  37. (6-2)*10 + (2)*1
  38. 4*10 + 2
  39. 40 + 2

42

Reversed no =24

Similar questions