Hackerrank – Java Solution – Java Loops I

Hackerrank - Java Solutions Hackerrank Online Judge Solution

Hackerrank – Java Solution – Java Loops I

HackerRank Problem Solution

Problem Name – Java Loops I
Problem Link –  https://www.hackerrank.com/challenges/java-loops-i/problem
Level – Introduction Challenges
Online Judge – Hacker Rank

Java Code

import java.util.Scanner;

public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int multiplier = scan.nextInt();
scan.close();
for (int i = 1; i <= 10; i++) {
System.out.format("%d x %d = %d%n", multiplier, i , i * multiplier);
}
}
}

Tags: HackerRank Online Judge Solution, HackerRank OJ Solution list, HackerRank Problems Solution, HackerRank solver, HackerRank all problem solution list, HackerRank solution in java, Hackerrank Java Solution, Hackerrank – Java Solution – Java Loops I

Leave a Reply

Your email address will not be published.