Question: QUESTION 4 Study the following code: double random = 4.78; QUESTION 4 Study the following code: double random = 4.78; int num = (int)random; After
QUESTION 4
Study the following code:
double random = 4.78;
QUESTION 4
Study the following code:
double random = 4.78;
int num = (int)random;
After the code executes, the type of random is , its value is ; the type of num is , its value .
int num = (int)random;
After the code executes, the type of random is , its value is ; the type of num is , its value .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
