Task:
Check your essay before you submit. See exactly what your professor sees.
See your AI and plagiarism results before your instructor does.Get the exact same report your professor uses. Trusted by 50,000+ students worldwide.
Duplicate a receipt (report or bill) with formatted text with printf.
This must have the same spacing as the original receipt on the variable data.
Therefore you need a receipt with mono-spacing.
Ignore graphics and centered headings or other non-monospaced font.
The task is designed to test that you can assign variables of
correct type (primarily int, double, String).
In this regard, as part of the assessment, you will store variables of type String,
and variables of type double.
These variables will be used with the printf command.
[do not submit personal information, recommend a supermarket receipt]
The assessment can be done individually or in a team of two.
For two people the requirements are doubled
– 10 string variables and 10 double variables in the display.
Both team members get the same mark.
Require:
* in class demonstration of your program and sign off
(no marks if this is not done) in weeks 2 and 3.
(if miss this then no mark, which includes if run out of time)
* Submit to blackboard before the inclass interview
* original receipt (not copied from the internet)
* Scanned copy of receipt (must have monospaced font)
* (5 String variables minimum per person)
* (5 double variables minimum per person)
* On the original receipt, mark with a ruler (in pencil or otherwise),
10 character spacing on the receipt.
e.g. Vertical lines in pencil 10 characters wide.
This will with counting the spacing correctly.
* code formatting of space with a number only e.g. “%6d” and not ” %4d “.
[ No space within the format string.
[Else mark of zero]
* reproduce a calculation e.g. receipt of 10 items, the 10 items are summed with their variables.
* incorrectly associating data types e.g. printing a numberical number as a string will
get you no marks.
* submission to Grade center of the java source file and scanned image
This must be done before the demonstration
* include a total calculated with a Java calculation
(e.g. double total sum = prod1 + prod2; …)
Problem simplification:
Ignore fancy heading and icons- text
Ignore the $ sign
To encourage formatting numerical data, ignore the $ sign in ouput.
e.g.
$254.20
$3.15
becomes
245.20
3.15
Welcome to one of the most trusted essay writing services with track record among students. We specialize in connecting students in need of high-quality essay writing help with skilled writers who can deliver just that. Explore the ratings of our essay writers and choose the one that best aligns with your requirements. When you rely on our online essay writing service, rest assured that you will receive a top-notch, plagiarism-free A-level paper. Our experienced professionals write each paper from scratch, carefully following your instructions. Request a paper from us and experience 100% originality.


