[Solved]Write Complete Java Program Called Alldigits Purpose Program Take Number Eg 219 Calculate Q37061063

Write a complete Java program called AllDigits. The purpose of this program is to take a number for e.g. 219. Then calculate double and triple its values. Concate the three numbers in a string. Then check if all the digits 1 to 9 occur in the string. Print out a message (nicely formatted). Here are the steps: X 219; y 219 2; z 219 3; Notice in Java, is an overloaded operator x y will be the sum of those numbers “abc” +”def” will be the concatenation of the two strings. Use the above two examples, to create a string that is the concatenation of the three numbers. String str; some operations (figure it out) str should have “219438657” Check if str has all the digits. Easy way to do it is to use a for loop. Need to determine: starting value, ending condition, step size. Think about those three values. The body of the for loop, should be a check to determine if all the digits are present in str (one at time, as you go thru’ the for loop). What should you do if a digit is not in str? When you are done with the loop, you would know if all the digits are present or not. Show transcribed image text Write a complete Java program called AllDigits. The purpose of this program is to take a number for e.g. 219. Then calculate double and triple its values. Concate the three numbers in a string. Then check if all the digits 1 to 9 occur in the string. Print out a message (nicely formatted). Here are the steps: X 219; y 219 2; z 219 3; Notice in Java, is an overloaded operator x y will be the sum of those numbers “abc” +”def” will be the concatenation of the two strings. Use the above two examples, to create a string that is the concatenation of the three numbers. String str; some operations (figure it out) str should have “219438657”
Check if str has all the digits. Easy way to do it is to use a for loop. Need to determine: starting value, ending condition, step size. Think about those three values. The body of the for loop, should be a check to determine if all the digits are present in str (one at time, as you go thru’ the for loop). What should you do if a digit is not in str? When you are done with the loop, you would know if all the digits are present or not.
Expert Answer
Answer to Write a complete Java program called AllDigits. The purpose of this program is to take a number for e.g. 219. Then calcu… . . .
OR

