Computer Science, asked by moumitachakroborty09, 8 months ago

dig
IWAPto calculate the area and porinilor of
triangle where the three sides are entered
ay
WAP to take a number and find out the
absolute value of the number
WAP to extract digit of a triple digiton number
ontor by usering af fast Digit and last digi
and middle dig​

Answers

Answered by ayushromanempire2345
2

Given two integers n and m. The problem is to find the number closest to n and divisible by m. If there are more than one such number, then output the one having maximum absolute value. If n is completely divisible by m, then output n only. Time complexity of O(1) is required.

Constraints: m != 0

_________________

....

.....

Answered by annu16650
0

this is not hard so speak large and hard ouestion

Similar questions