Question: CSD 3464 - PROGRAMMING JAVA SE 52022 ASSIGNMENT 1 Topics covered: -Intro to Computers and Java -Java Fundamentals -Decision Structures 1. Declare the required variables,

CSD 3464 - PROGRAMMING JAVA SE 52022 ASSIGNMENT 1
CSD 3464 - PROGRAMMING JAVA SE 52022 ASSIGNMENT 1
CSD 3464 - PROGRAMMING JAVA SE 52022 ASSIGNMENT 1 Topics covered: -Intro to Computers and Java -Java Fundamentals -Decision Structures 1. Declare the required variables, then ask user to enter employee's full name, id and monthly salary from keyboard, then display the values like this: Employee's name is James Cook, employee's id is 34256, and employee's monthly salary is $4533.5 Console example: Enter playee's full name Tames Cook Enter employee's id 34256 Enter employee's monthly salary: Employee's name is James Cook, employee's it is 34256, and employee's monthly salary is $4535.5 2. Declare variables to store a first name and a last name, and initialize with your own first name and last name. Then declare two character variables, use correct String class methods to get first character of first name and last character of last name and display like this: My first name is John, my last name is Hopper, first character in my first name is "3" and last character in my last name is "e Console example: My first name is Jon, my last name is opper, first character in my first 3. Write a program that displays the following pattern: ***** . *** ***** Console output example: 4. Ontario sales tax rate is 13%. Ask user to enter sales amount from keyboard, then calculate tax amount and display in the console. Decimal part must be rounded to hundredth (cents). Console example: Enter sales amount: Sales tax amount is $5929.17 5. An Internet provider charges for megabytes according to monthly traffic volume Traffic (MB) Rate (5/MB) 5000 or more 0.1 2000-4999 0.015 1000-1999 0.02 1-999 0.025 Ask user to enter monthly traffic in megabytes, calculate the monthly bill and display. Console example: Please enter Internet monthly traffic in megabytes 3400 Monthly bill for 34888 traffic is $51.0 SUBMISSION Submit the code and screenshots Comment your code. Put your name and ID in the comments as well

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!