Write a java program prompts a user to enter demographic


Write a Java program that calculates and displays the results of addition, subtraction, multiplication, division, modulus, bitwise &, or bitwise operation on two integer values input by the user. The program should prompt the user for the two integers and the operation to be performed. Here is a sample run:

Enter the first integer: 24

Enter the second integer: 4

Enter the operation: +

The results of 24 + 4 is 28

I know how to declare a variable but I have no idea where to learn the rest. Help?!? I need to understand what each line of code does. The same goes for the next

Write a Java program

prompts a user to enter demographic information including

year of birth (values 1900 - 2014),

month of birth (values 1 - 12), day (value of 1 - 31) of birth, latitude and longitude of home address current grade point average (GPA). Here is a sample run:

Enter your birth year (1900 - 2014): 1989

Enter your birth month (1 - 12): 10

Enter the day of the month of your birth (1 - 31): 15

Enter the latitude of your home address: 38.3658

Enter the longitude of your home address: 75.5933

Enter your current GPA (0.0 - 4.0): 3.8

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a java program prompts a user to enter demographic
Reference No:- TGS01032837

Expected delivery within 24 Hours