Write a program that:

1. Asks the user for a double variable called myDouble with a decimal value

2. Casts the double value to a int

3. Prints the int value to the screen

Note: your job is to print the int casted version of the double



Answer :

Other Questions