PLSSS HELP
Complete the following program. The program has an int value defined. You may not alter or remove any of the code given to you, but
you may add code to reach the desired output. The program must use variables and arithmetic (no hard-coded values).
When finished, the program should print the following information:
1) The original value in the variable.
2) The whole number value when the number is divided by 2.
3) The remainder after the number is divided by 2.
4) The decimal value when the number is divided by 2.
The sample output would look something like this:
The original value is 7.
When 7 is divided by 2, the whole number result is 3.
The remainder of 7 divided by 2 is 1.
When 7 is divided by 2, the decimal result is 3.5.
Complete the following code:
public class Calc
{
}
public static void main(String[] args)
{
int value =_____
//calculation and output statements
}
}