Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Essay

Unit 16 Procedural Programming - Assignment 3 (P3, P4) - Program for a decorator

Rating
2.0
(1)
Sold
-
Pages
8
Uploaded on
03-01-2020
Written in
2018/2019

Assignment 3 - Write a program that will calculate a few things for a room decorator. Includes working code with comments | BTEC Level 3 Unit 16 Procedural Programming | Criteria Covered: P3, P4 - ALL CRITERIA WAS MET |

Institution
Course

Content preview

7



Assignment 3 – Procedural
Programming
TABLE OF CONTENTS
1 Design.......................................................................................................................................................1
1.1 Specifications.....................................................................................................................................1
1.2 Code Design.......................................................................................................................................2
1.2.1 Flowchart....................................................................................................................................3
1.2.2 Pseudocode................................................................................................................................4
1.3 Input, Processing and Output Chart...................................................................................................4
2 Program....................................................................................................................................................6
2.1 Code...................................................................................................................................................6
2.2 Running Program...............................................................................................................................8




1 DESIGN

1.1 SPECIFICATIONS
I have been asked to create a program for a decorator that will calculate the cost of painting a room
depending on their choice of paint and the size of the room. The program will allow the decorator/user
to enter the height of the room. It will then ask for them to enter the width of each wall in the room.
This system will then calculate what the area if the room is. After which the user will be able to select
their choice of paint (expensive, medium, and cheapest) as well as whether they want undercoat or not.
And after all this the program will display a bill which has all the items and what the total cost turns out
to be.

This program should not take a lot of time to complete as it isn’t complex or long. I will be splitting it up
in sections, so that calculating the area will be programmed in one section and calculating the cost in
another. The program shouldn’t be error prone due to its simplicity, which is another reason it will not
take long to program. The program will also be text based as there will be no need for a graphical user
interface because all of the user interactions can be done through typing in text.

Timeline:
Section Time
Calculating the area of the room 10 minutes
Choosing paint quality and undercoat 15 minutes
Calculating the total and displaying a bill 15 minutes

Yonkov, Boyan

Connected book

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
January 3, 2020
Number of pages
8
Written in
2018/2019
Type
ESSAY
Professor(s)
Unknown
Grade
Unknown

Subjects

$6.78
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Reviews from verified buyers

Showing all reviews
4 year ago

2.0

1 reviews

5
0
4
0
3
0
2
1
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Boyan67 PEARSON
Follow You need to be logged in order to follow users or courses
Sold
132
Member since
7 year
Number of followers
109
Documents
9
Last sold
2 year ago

3.3

36 reviews

5
11
4
5
3
10
2
5
1
5

Trending documents

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