You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2024. It is now read-only.
Write a program to enter digits for units place, digit for tens place and a digit for the hundreds place and using mathematical relations of place values of a number, display the number.
14/06/23 */
importjava.util.Scanner;
publicclassProgram017 {
publicstaticvoidmain() {
Scannersc = newScanner(System.in);
System.out.print("Enter a digit for the units place: ");
intu = sc.nextInt();
System.out.print("Enter a digit for the tens place: ");
intt = sc.nextInt();
System.out.print("Enter a digit for the hundreds place: ");