Computer Science, asked by botrerutu8811, 3 months ago

standard input/output: 2s/128000 kB
A magic number is a natural number that contains
both the digits 7 and 9 in it. For eg:- 79, 879,53729
etc.
Given a number N, your task is to find the closest
Magic number from the given number N.
Note:- If more than one answer exists return the
minimum one​

Answers

Answered by studyingking96
17

Explanation:

झज्जर I hate you and can't make you a very bad guy but I'm going out to a friend h I hate to say I can't wait till I can I get to go and I

Similar questions