Largest Multiple <= N

Computer Mathematics Easy 3 views
Back to Questions

Problem Description

Given n and k>0, print the largest multiple of k that is

Input Format

Two integers n k.

Output Format

One integer.

Sample Test Case

Input:
23 5
Output:
20

Constraints

k>0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next