Answers for "Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: N x i = result."

0

Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: N x i = result.

int sum;
        
        for(int i = 1; i <= 10; i++){
            sum = n * i;
            System.out.println(n + " x " + i + " = " + sum);
        }
Posted by: Guest on October-19-2020

Code answers related to "Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: N x i = result."

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language