001-005-011
Modulo Operation
Easy
Problem Description
Modulo Operation
Learning Objective: Understand the basics of modulo operation
Overview
Implement modulo operation and display the result.
Output Format
Remainder: 2
Test Cases
※ Output examples follow programming industry standards
Input:
Expected Output:
Remainder: 2
Input:
Expected Output:
Remainder: 2
Input:
Expected Output:
Remainder: 2
Input:
Expected Output:
Remainder: 2
❌ Some tests failed
Your Solution
Current Mode:● My Code
99
1
2
3
4
5
6
7
8
9
10
›
⌄
⌄
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// Write your code here
sc.close();
}
}
0 B / 5 MB
You have 6 free executions remaining
