This project was successfully completed by kawsar92 for $2 USD / hour in 5 days.Get free quotes for a project like this
Project Budget$2 - $8 USD / hour
Completed In5 days
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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online