I believe the answer is Microsoft Office, Correct me if I'm wrong.
Really hope this helps!
This is a java program with a class called Sum1.
Explanation:
While loop is used to add 10 number.
import java.util.Scanner;
public class Sum 1
{
public static void main(String args[])
{
int number, count, sum = 0;
Scanner s = new Scanner(System.in);
System.out.print("Enter the number:");
number = s.nextInt();
while(number > 0)
{
count = number % 10;
sum = sum + n;
number = number / 10;
}
System.out.println("Sum of Digits:"+sum);
}
}
A already assigned variable cannot be assigned twice You can make the variable change over to a new one or call a whole new one to assign one without a value or It might be possible to do v=n (v is variable and n is number / value)