hi can you help me please Write a program that breaks a number into its digits. Program keeps prompting the user to enter an integer and displays the digits of that integer until user enters -1
run like that
Enter a number (-1 to end): 3457 ↵
Digit1 = 7
Digit2 = 5
Digit3 = 4
Digit4 = 3
Enter a number: 23
Digit1 = 3
Digit2 = 2
Enter a number: 847570
Digit1 = 0
Digit2 = 7
Digit3 = 5
Digit4 = 7
Digit5 = 4
Digit6 = 8
Enter a number: -1