{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

JS1 - total is(T)” 7 END START Input name of product(P...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Algorithm for JS 1 1. START 2. Input name of product( P): what cupcake would customer would like 3. Input cost of product (C): how much is the cupcake 4. Input # of product demanded (Q) : how many cupcakes customer would want. 5. Sum/total (T) = price of desired cupcake (C)* quantity (Q) 6. Print: “Your order for [Q] number of [P] has been received. The
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: total is (T)” 7. END START Input name of product (P) Sum (T)= price or desired cupcake * quantity END Print: “Your order for P number of C has been received. The total is T.” Input cost of product (C) Input quantity of product...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

JS1 - total is(T)” 7 END START Input name of product(P...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online