Preview

PRG/420 Week 3

Good Essays
Open Document
Open Document
1025 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
PRG/420 Week 3
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package commission2; import java.lang.*; import java.text.DecimalFormat; import java.util.Scanner;

/* * @author * Week 3 Individual Assignment * Assignment: Simple Commission Calculation Project Part 2 * Due Date: */ public class AnnualCompensationCalculator { /** * main method begins program execution */ public static void main(String args[]) { String firstName; // Get user 's first name String lastName; // Get user 's last name int salary; // User 's fixed annual salary double commissionRate; // User 's commission rate double sales; // User 's annual sales double totalCommission; // User 's total commission earned double totalCompensation; // User 's total compensation // Display welcome message System.out.println("Hello, welcome to the Simple Commission " + "Calculator."); // Insert a blank line System.out.println(); // Create a Scanner object to read input Scanner keyboard = new Scanner(System.in); // Get user credentials System.out.println("Please enter your first name."); firstName = keyboard.nextLine(); System.out.println("Please enter your last name."); lastName = keyboard.nextLine(); // Insert a blank line System.out.println(); // Display user information System.out.println("Hello, " + firstName + " " + lastName + "."); System.out.println("Your annual salary is $50,000 and your commission " + "rate is 5%."); System.out.println("If this is not correct, please contact your HR " + "Representative.");

You May Also Find These Documents Helpful

  • Good Essays

    Proj586 Week 4

    • 660 Words
    • 3 Pages

    What is your total budget for this project? Was the project within the budget as set forth by the board of directors?…

    • 660 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Mktg308 Week 4

    • 1470 Words
    • 6 Pages

    The big four banks managed to slightly improve their customer satisfaction rankings last month, although ratings are expected to come under pressure following the decision by most to hold back some of the December cash rate cut.…

    • 1470 Words
    • 6 Pages
    Powerful Essays
  • Best Essays

    Cmgt 430 Week 2

    • 1585 Words
    • 7 Pages

    University of Phoenix (2005). Huffman Trucking Service Request SR-ht-001. Materials section. Retrieved February 08, 2011, from https://ecampus.phoenix.edu/secure/aapd/cist/…

    • 1585 Words
    • 7 Pages
    Best Essays
  • Powerful Essays

    Gm 520 Week 3

    • 2283 Words
    • 10 Pages

    2. Douglas Margreiter was severely injured in New Orleans on the night of April 6, 1976. He was the chief of the pharmacy section of the Colorado Department of Social Services and was in New Orleans to attend the annual meeting of the American Pharmaceutical Association. On Tuesday evening, April 6, Mr. Margreiter had dinner at the Royal Sonesta Hotel with two associates from Colorado who were attending the meeting and were staying in rooms adjacent to Mr. Margreiter 's in the New Hotel Monteleone. Mr. Margreiter returned to his room between 10:30 p.m. and 11:00 p.m.; one of his friends returned to his adjoining room at the same time. Another friend was to come by Mr. Margreiter 's room later to discuss what sessions of the meetings each would attend the next day.…

    • 2283 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    The objective is to successfully convert the United States Army Medical Department from EMR to AHLTA. There are trainers that are set in place to ensure that the staff receives their full attention and that they also feel comfortable with the software. The outcome of this would be to have the ability to easily communicate electronically regarding patients and is up to date with today’s advanced technology which will allow the compliance with government standards as well as high reimbursement for every office. . While being trained the staff should feel very comfortable when working with the software and to ensure that this happens a questionnaire is given for feedback.…

    • 655 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    qnt/351 week 4

    • 737 Words
    • 2 Pages

    L-3 communications is a great company to be involved in. As challenges arise, the HR department goes to work with statistical decision making in order to make the best decision possible. This paper is a reflection of how steps in the decisions making process are being used by L-3, and can be used by any company to come up with the right conclusions to help solve problems. L-3 is a leader in their industry because of the steps the HR department takes to solve problems.…

    • 737 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Week 5 Acct 420

    • 886 Words
    • 4 Pages

    Ex 9-2 1 D 2 A 3 C 4 D 5 D 6 B 7 B 8 D 9 C 10 A Ex 13-1 1 B 2 D 3 C 4 A 5 C 6 D 7 D 8 B 9 A 10 A 9-10.…

    • 886 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CMGT 410 week 5

    • 308 Words
    • 2 Pages

    Enables project manager to analyze the findings of the review and improve on certain aspects in the next project that need attention.…

    • 308 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Prg421 Week 2 Ia

    • 565 Words
    • 3 Pages

    RIGHT) ; tfItemName = new JTextField();…

    • 565 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Prg/420 Week 5

    • 958 Words
    • 4 Pages

    This tutorial is designed to provide you with an understanding of the Java Calendar class, it’s backgrounds, purpose and uses. It is created in such a manner as to allow even beginning Java programmers an understanding and feel for the uses of the Java Calendar class. The Java Calendar class was added to the Java Development Kit in JDK 1.1. It is designed to permit the conversion between a specific instance in time and a set of Calendar fields. (Oracle, 2004, 2010) What exactly does this mean? The Calendar class uses a huge array of tables to keep track of time based on daylight savings time, timezones, and calendar history, the calendar class uses a system time to determine where whatever event is being tracked falls on in the internal calendar tables. Some confusion is caused by this as Java does keep track of specific location time, and the programmer needs to keep this in mind when using the Calendar class even when it isn’t relevant to the problem being addressed (Roedy Green, Canadian Mind Products, 1196-2011).…

    • 958 Words
    • 4 Pages
    Better Essays
  • Better Essays

    Psy 428 Week 4 Individual

    • 1204 Words
    • 5 Pages

    The improving organizational performance simulation is about Airdevils Incorporated, which is a professional stunt company in Salt Lake City, Utah. This paper will cover a description of the four phases of the simulation to include a description of each situation, the recommended solution, and the results. A discussion will take place of the organizational psychology concepts in the simulation. Some items to address consist of theories of employee motivation to increase productivity, how to use knowledge of human behavior, cognition, and affect to enhance relationships in the workplace, and how organizations can reduce workplace stressors for employees. The purpose of the simulation is to determine methods that will increase the level of job satisfaction in the stunt workers.…

    • 1204 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Psy 460 Week 2

    • 536 Words
    • 3 Pages

    The research study measured whether music therapy along side with visual imagery would decrease chemotherapy-induced anxiety and nausea-vomiting in patients going through chemotherapy. Researchers Karagozoglu, Tekayasar and Yilmaz (2013) sampled forty participants in the study, participants were provided with a document where they dispelled personal information, the Spielberger State-Trait Anxiety Inventory, a visual scale and a form to evaluation for nausea and vomiting (Karagozoglu, Tekyasar, and Yilmaz, 2013). The researchers used the same participants throughout the entire study. The results were significant which supported the hypothesis that music therapy along with visual imagery can cause a decrease chemotherapy-induced anxiety and nausea vomiting in chemotherapy patients. The study can support the notion that visual imagery can result in a form of relieving pain or stress.…

    • 536 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Aadhar Card Case Study

    • 855 Words
    • 4 Pages

    Once completing that part. The next field is to input the full name. Moreover, make sure that it is the exact same name without spelling mistake.…

    • 855 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Java Progamming

    • 7830 Words
    • 32 Pages

    Exercise CheckPassFail (if-else): Write a program called CheckPassFail which prints "PASS" if the int variable "mark" is more than or equal to 50; or prints "FAIL" otherwise.…

    • 7830 Words
    • 32 Pages
    Good Essays
  • Satisfactory Essays

    HTML Codes

    • 1539 Words
    • 7 Pages

    import java.io. *; public class mark { public static void main(String[]args)throws IOException { BufferedReader dataIn=new BufferedReader(new InputStreamReader(System.in)); System.out.println(" Jollibee "); System.out.println("********************************************************************"); System.out.println("* MENU *"); System.out.println("* Burger And Sandwiches | Chickenjoy *"); System.out.println("* CODE Meal | CODE Meal *"); System.out.println("* 1 B1 | 6 C1 *"); System.out.println("* 2 B2 | 7 C2 *"); System.out.println("* 3 B3 | 8 C3 *"); System.out.println("* 4 B4 | 9 C4 *"); System.out.println("* 5 B5 | 10 C5 *"); System.out.println("* | *"); System.out.println("* Noodles | Rice Meal *"); System.out.println("* CODE Meal | CODE Meal *"); System.out.println("* 11 N1 | 17 RM1 *"); System.out.println("* 12 N2 | 18 RM2 *"); System.out.println("* 13 N3 | 19 RM3 *"); System.out.println("* | 20 RM4 *"); System.out.println("* Jollibee Kids Meal | 21 RM5 *"); System.out.println("* CODE Meal | 22 RM6 *"); System.out.println("* 14…

    • 1539 Words
    • 7 Pages
    Satisfactory Essays

Related Topics