Daily Java Coding Challenge

Sharpen your programming skills by solving a new Java coding problem everyday!

Ends In: --:--:--
Solution Available In: --:--:--
Jul
23
2026
Easy 50 Points

Print Multiples of N in Java

Write a Java program to read an integer n and print its first 3 multiples separated by space.

Input Format

Single integer n.

Output Format

Three space-separated integers (n*1, n*2, n*3).

Constraints

1 <= n <= 100

Examples

Example 1:
Input:
5
Output:
5 10 15
Explanation: Multiples of 5: 5 10 15
Java
Theme:
Console Output
Press 'Run Code' to execute your program against the sample test cases.
Enter Submission Details
Hints Available
  1. Use Scanner sc = new Scanner(System.in)
  2. Print n, n*2, n*3
Challenge Completed!
🎉
🚀
🔥
🌟
🎊
🏆
✨ Daily Coding Challenge ✨
🎉 SUCCESSFULLY SOLVED 🎉
User Name
from Location
Print Multiples of N in Java
Success Card
Generating your shareable success card...
Official Solution
Go Back Top