Question

3. Write a program and complete the following operations: a. (1) Define a double variable y0, initialize it with value 90 (2) Define a float variable y1, initialize it with

value 0 (3) Assign y1 with value in y0 (4) Display y0 and y1 b. (1) Define an int variable x0, initialize it with value 99 (2) Define a short variable x1, initialize it with value 0 (3) Change x1 so x1 will hold a number which is the half of the number in x0 (4) Display x0 and x1

Question image 1Question image 2Question image 3Question image 4Question image 5Question image 6Question image 7Question image 8Question image 9