Prepare a program that calculates sales tax

Assignment Help Management Information Sys
Reference no: EM1323864

Java Code and Class File

Java code with comments and class file

Details: You need to write a program that calculates sales tax and total sale amount. The user should be presented with a menu listing four different products. Based upon their choice, the user enters the quantitly that they desire. The program will then calculate the Subtotal, Sales Tax Amount, and Total Sale Amount. The calculations should be performed as follows:

Subtotal = (Price * Quantity)

Sales Tax Amount = Subtotal * Sales Tax Percentage (sales tax percentage should be 7.5%)

Total Sale Amount = Subtotal + Sales Tax Amount

Be sure to use variables to store temporary values. The program should output the product sold, quantity sold, and the calculated values for Subtotal, Sales Tax Amount, and Total Sale Amount.

Java should be used to write your program. Use NotePad to create your Java program. An IDE (Integrated Development Environment) like NetBeans is not necessary and must not be used. Use the Command Prompt window to compile and execute your code.

It provides a complete executable java program written in Netbeans. The main class is in the build folder. This is the same class file as Main.java, but since this is created by NetBeans, if you open it with either notepad or wordpad it might not show up correctly. Kindly use notepad++ or any other java editor to view the source code with proper format.

Reference no: EM1323864

Questions Cloud

Impact of environment and experience on gene expression : Write down the two ethical considerations when using the genetic screening for medical and psychological disorders.
Personal computers in business : PDAs will replace personal computers in business -  information appliances like PDAs will replace personal computers in business applications? Explain.
Explain dot-com meltdown : Explain Dot-Com Meltdown and What is one of the ways that the dot-com meltdown in the United States during the early 2000s influenced the growth of e-business
Differences between sensation and perception : Give a description of the most crucial differences between perception and sensation. Also provide an example of how context may affect pain perception.
Prepare a program that calculates sales tax : Java Code and Class File - You need to prepare a program that calculates sales tax and total sale amount. The user should be presented with a menu listing four different products.
Explain e-business strategy formulation : Explain E-Business Strategy Formulation and what is the difference between mobile e-commerce and wired e-commerce
Articles-empirical research from positive psychology journal : Compare the information from each article on this topic; information needs to be integrated with specific references to each article on how the information compares and contrasts.
Explain the implementation process and its importance : Explain the implementation process and its importance -  How do you monitor the effectiveness of your plan? What resources or tools will you use?
Explain ebay in japan - organizational structure : Explain EBay in Japan - Organizational Structure and understanding the organizational structure and the cultural missteps which occurred when EBay rented Japan

Reviews

Write a Review

Management Information Sys Questions & Answers

  Information technology and the changing fabric

Illustrations of concepts from organizational structure, organizational power and politics and organizational culture.

  Case study: software-as-a-service goes mainstream

Explain the questions based on case study. case study - salesforce.com: software-as-a-service goes mainstream

  Research proposal on cloud computing

The usage and influence of outsourcing and cloud computing on Management Information Systems is the proposed topic of the research project.

  Host an e-commerce site for a small start-up company

This paper will help develop internet skills in commercial services for hosting an e-commerce site for a small start-up company.

  How are internet technologies affecting the structure

How are Internet technologies affecting the structure and work roles of modern organizations?

  Segregation of duties in the personal computing environment

Why is inadequate segregation of duties a problem in the personal computing environment?

  Social media strategy implementation and evaluation

Social media strategy implementation and evaluation

  Problems in the personal computing environment

What is the basic purpose behind segregation of duties a problem in the personal computing environment?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Perky pies

Information systems to adequately manage supply both up and down stream.

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Visit and analyze the company-specific web-site

Visit and analyze the Company-specific web-site with respect to E-Commerce issues

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd