41 of 100 menu

Java Taskbook Level 5.1

Ask the user to enter two numbers via the console. Output the sum of these numbers.

Given a number:

int num = 133;

Determine if any of the digits in this number are the same.

Given an array:

int[][] arr = { {1, 2, 3}, {4, 5, 6}, {7, 8, 9}, };

Print all elements of this array to the console.

Write a program that will output the following pyramid to the console:

x
xx
xxx
xxxx
xxxxx
enru