100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Unit 4: Programming - Assignment 2(Distinction) $17.20   Add to cart

Essay

Unit 4: Programming - Assignment 2(Distinction)

 42 views  0 purchase
  • Course
  • Institution

Unit 4: Programming - Assignment 2(Distinction)

Preview 2 out of 5  pages

  • June 19, 2023
  • 5
  • 2022/2023
  • Essay
  • Unknown
  • A+
avatar-seller
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.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller sleimandarwish. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $17.20. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76669 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$17.20
  • (0)
  Add to cart