100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Essay

Unit 4: Programming - Assignment 2(Distinction)

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
19-06-2023
Written in
2022/2023

Unit 4: Programming - Assignment 2(Distinction)

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
June 19, 2023
Number of pages
5
Written in
2022/2023
Type
Essay
Professor(s)
Unknown
Grade
A+

Subjects

Content preview

Introduction:
I have been asked to program a program and code it for a
washing machine company, so I have asked to design and
develop a computer program so once the user inputs a value
or a number the code will check if they have enough in the
factory after the customer’s request and wish their supplies.
Code
Screenshots of my code with annotations to describe and
explain what’s happing in my program




This screenshot shows the username and the password that
the user has to input into the login.
So, the program will only accept this specific username and
password no other than that if the user entered the following
username and password the program will them in and the
authentication will be successful if not an error message will
display to say, “Try again”.




In this section of the code, the program will check the
information and details that the user entered so what it does

, it will check with the database to check whether the
username and password match the database or not if it
matches it will let the user into the application if not it will
display an error message saying try again.




In the section of the program, the program is waiting for user
input, so it is asking the user to input data into the program
so the user has to input the number of linen items. Then the
program will ask the user to enter the number of items and
then the number of missing items.
After that, the program will ask the user for charge number
of items too dirty to clean and then the program will
calculate the charge so for the charge calculation the
program will calculate add up the total cost of a number of
items, number of missing items, number of items too dirty,
returned items, number missing items and number of items
too dirt to clean to display the tola cost.
$17.27
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
sleimandarwish

Also available in package deal

Get to know the seller

Seller avatar
sleimandarwish Liverpool John Moores University
Follow You need to be logged in order to follow users or courses
Sold
3
Member since
2 year
Number of followers
2
Documents
25
Last sold
9 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions