Chose ONE
of the 4. Possible
grades are 75 or 85 or 90/95 or 100. Do NOT try to turn in more
than 1 grade Look at all samples before you start. The pink section is
easier because it uses no math.
Save as Unit1p1 -
75 points
There is a template to
get you started at the bottom of this page .
This is the
"no-brainer" project. it reflects what you learned in Lab1b
It shows no
knowledge of integers or doubles.
I offer it only for
those who are really behind.
I grade only once - be
sure it works before you call me.
-2 pt for every word that "touches" a
number or a word
Final
windows
Save as Unit1p2 -
85 points
This program shows
knowledge of Lab1b and Lab1c
This is a
sample of the minimum that you should be able to
do at this time.
Delete the Strings and
InputDialogs about color and size from the template below. This uses
only integers.
There is NO decimal formatting in this
program. If you can do this one, please continue if
you have time.
I grade only 1 time -
be sure it works before you call me.
-2 pt for every word that "touches" a
number or a word
Save as Unit1p3 -
90 or 95 points
This program shows
knowledge of Lab1b and Lab1c and Lab1d
This is the same as
the 85 but includes doubles.
If you include decimal
formatting the double so it looks like money ( 2 decimal places), it
is worth 95.
My sample shows
formatting. I
grade only 1 time - be sure it works before you call me.
-2 pt for every word that "touches" a
number or a word
Save as Unit1p4 -
100 points
This is the same as
the 95/100 but includes find the tax - use 8.2%
(0.082) as the tax rate and round off the total
price as money - 2 decimal places.
I grade only 1 time -
be sure it works before you call me.
-2 pt for every word that "touches" a
number or a word
Template for minimum
grade - adapt as needed for 85, 90/95, 100
/* * Unit 1 */
import
javax.swing.*;
public
class Unit1p1 { public static void
main(String[] args)
{ String
item = ""; String color = ""; //
do not use for grades 85 and
above String size = ""; // do not
use for grades 85 and above String
cost = ""; String number =
"";
item =
JOptionPane.showInputDialog("What clothing item are you
buying?"); // etc