0

Write a program to return the nearest 10 multiple of any given number.

1. Sample input: 18 Output: 20 2. Sample input 12 Output: 10

21st Sep 2021, 4:39 AM
Shahnawaz Alam
Shahnawaz Alam - avatar
1 ответ
0
Why you didn't specify a language in the tags? in which language are you doing this? in which language you expected incoming answers? https://code.sololearn.com/W3uiji9X28C1/?ref=app Share your tryout code bit link so people can understand and engage properly. https://www.sololearn.com/post/75089/?ref=app P.S. Any detail on when to round up or down?
21st Sep 2021, 4:48 AM
Ipang