You have chosen to sponsor your bid up to a maximum amount of .
Need two quick java assignment completed. Here are instructions:
1. Consider the following program segment:
public class Exercise2
public static void main(String args)
a. Write Java statements that declare the following variables: num1, num2,
and num3, and average of type int.
b. Write Java statements that store 125 into num1, 28 into num2, and -25
c. Write a Java statement that stores the average of num1, num2, and num3
d. Write Java statements that output the values of num1, num2, num3, and
e. Compile and run your program.
2. Write a program that prompts the user to input a decimal number and
outputs the number rounded to the nearest integer.