• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 8 páginas
Ensayo

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

Document preview thumbnail
Vista previa 1 fuera de 8 páginas

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 |

Vista previa del contenido

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

Libro relacionado
 image
Editorial: Desconocido ISBN: 9781910523155 Edición: Desconocido

Información del documento

Nivel de Estudio
Tema
Subido en
3 de enero de 2020
Número de páginas
8
Escrito en
2018/2019
Tipo
Ensayo
Profesor(es)
Desconocido
Grado
Desconocido
$6.73

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Boyan67
3.3
(36)
Vendido
132
Seguidores
109
Artículos
9
Última venta
3 año hace

Reseñas de compradores verificados




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes