Code Monkey home page Code Monkey logo
  • šŸ‘‹ Hi, Iā€™m @Mia0451
  • šŸ‘€ Iā€™m interested in ...
  • šŸŒ± Iā€™m currently learning ...
  • šŸ’žļø Iā€™m looking to collaborate on ...
  • šŸ“« How to reach me ...

mia0451's Projects

customerbill icon customerbill

Write a program to create a customer's bill for a company. The company sells only five different products: TV, VCR, Remote Controller, CD Player and Tape Recorder. The unit prices are $400.00, $220, $35.20, $300.00 and $150.00 respectively. The program must read the quantity of each piece of equipment purchased from the keyboard. It then, calculates the cost of each item, the subtotal and the total cost after an 8.25% sales tax. The input data consists of a set of integers representing the quantities of each item sold. These integers must be input into the program in a user- friendly way; that is, the program must prompt the user for each quantity as shown below - How many TV's were sold? 3 How many VCR's were sold? 5 How many remote controller's were sold? 1 How many CD's were sold? 2 How many Tape Recorder's were sold? 4 The output of the program should print the following data properly formatted: QTY DESCRIPTION UNIT PRICE TOTAL PRICE ... SUBTOTAL TAX TOTAL Define constants for the unit prices and the tax rate. Use integer variables to store the quantities for each item. Use floating-point variables to store the total price of each item, the bill subtotal, the tax amount and and the total amount of the bill. Run your program two times with the following data: Set 1 -> 2 1 4 1 2 Set 2 -> 3 0 2 0 21 Format the output adequately showing the 4 columns (QTY, DESCRIPTION, UNIT PRICE, TOTAL PRICE) in a single row. Use System.out.printf for output.

mia0451 icon mia0451

Config files for my GitHub profile.

mifos-mobile icon mifos-mobile

Repository for the Mifos Mobile Banking App for clients

nacos icon nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.

oop_cpp icon oop_cpp

Foothill College CS2B Intermediate Software Design in C++

pulsar icon pulsar

Apache Pulsar - distributed pub-sub messaging system

seata icon seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.

shardingsphere icon shardingsphere

Ecosystem to transform any database into a distributed database system, and enhance it with sharding, elastic scaling, encryption features & more

weatherk icon weatherk

An Android Weather app (written in Kotlin MVVM)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.