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

  Explain a few motivational tools and techniques

Motivational Theories and Application to a Highly Creative and Complex Technology Workforce  - Show a few motivational tools and techniques that would apply to all employees in any organization.

  Advances in food and beverage technology

Advances in Food and Beverage Technology - What are some advances in food and beverage technology?

  Role of the chief technology officer

The Evolving Role of the Chief Technology Officer - Explain What are the roles of a CTO and what are the implications of these roles on management?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Representations of a to-be system will differ

Data planning and modelling - Explain how logical and physical representations of a To-Be system will differ.

  Discuss the timing of entry strategies

Business Information Systems - Describe why sometimes the follower and not the first mover of a new technology is more successful in the market place.

  Describe portable input devices

Portable Input Devices - Describe different types, advantages, and disadvantages of portable input devices. Be sure to include the following information

  Describe the concept of software as a service

Software as a Service (SaaS) - Describe the concept of Software as a Service (SaaS), and describe at least one application area

  Show success factors to prevent project failures

IT Acquisition Performance Metrics - why don't more government and commercial organizations use these success factors or practices to prevent project failures?

  Prepare a brochure for a data repository

Prepare a brochure for a data repository - Research commercial data repositories. Be sure to understand this business model, including the services, benefits, and marketing of services.

  How to respond information system security treats

Responding to Information System Security Treats - How should organizations respond to information system security threats?

  Kruzweil''s theory and artificial intelligence on singularity

Kruzweil's Theory and Artificial Intelligence on Singularity - What technological advancements have contributed to the progression of Artificial Intelligence over the past 10 years?

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