First Multiple of 7

JavaScript Easy 3 views
Back to Questions

Problem Description

Given N, find the smallest multiple of 7 which is >= N. Print that number.

Input Format

One integer N.

Output Format

One integer answer.

Sample Test Case

Input:
15
Output:
21

Constraints

-1e9

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next