SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 2 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 11 Oct 2017 My Price 10.00

Unable to create script to run program please see attached file

Unable to create script to run progra

COP2253 Programming Project # 2

See Dropbox for Due Date

 

Project Outcomes - Develop a Java program that:

  • Reads input from the keyboard using a Scanner Object and its methods
  • Displays information to the user in various formats, including formatting numbers.
  • Manipulates String objects using various String methods

Prep Readings:

zyBooks 1.3, 1.4, 2.11, 2.18, 3.8, 3.9

Project Requirements:

1.      In this project, you need to use methods of Scanner and String class that will allow the user to enter information about two products sold at a Grocery Store and display information about the products.

2.      Products will consist of the following data:

a.       productName – String

b.      quantity – integer

c.       unitPrice – double

3.      The program will

a.       prompt the user to enter the information for two products and store this information in the appropriately named variable. Assume product name is one word only and less than 10 characters.

b.      store the product name in proper case (first letter to upper case and the rest of the word to lower case. For example:  apple becomes Apple, and ORANGE becomes Orange.

c.       calculate the total price of each product (quantity * unitPrice) and store this in an appropriately named variable. Assume both quantity and unitPrice are less than 1000.

d.      display the data for each product and the total price in a table (see below) with the follow requirements

                                                              i.      Product name in Proper case

                                                            ii.      Product name will be left justified.

                                                          iii.      Numbered data (qty, price and total price) will be right justified.

                                                          iv.      The price and total price will be 2 decimal places.  (Use printf format specifiers)

4.      Include javadoc class comment following Project Comment Template on the content page.

5.      Sample run below:

 

6.      The project requires one files to be turned in - Product.java  (the source code of your Product program)

7.      Be sure to follow the Programming Project Submission Instructions posted by your instructor on the elearning site.  The submission requirements are part of the grading for this assignment.

 

Important Notes:

  1. Projects will be graded on whether they correctly solve the problem and whether they adhere to good programming practices.
  2. Projects must be submitted by the time specified on the due date. Projects submitted after that time will get a grade of zero.
  3. Please review UWF's academic conduct policy that was described in the syllabus. Note that viewing another student’s solution, whether in whole or in part, is considered academic dishonesty. Also note that submitting code obtained through the Internet or other sources, whether in whole or in part, is considered academic dishonesty. All programs submitted will be reviewed for evidence of academic dishonesty, and all violations will be handled accordingly.

 

m please see attached file

Attachments:

Answers

(5)
Status NEW Posted 11 Oct 2017 11:10 AM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)