Common Computer Science References
At the end of this lesson, you will be able to:
understand the basics of and make Pseudo-code
format a string to look like money
review constants
read Pseudo-code, from textbook Computer Based Problem Solving
go over what Pseudo-code is
we will always start this CAP LETTERS IN BOLD
go over formatting a variable as currency
place a "$" and then format to 2 decimal places!
work through "pizza" program to create:
top-down design
flow-chart
pseudo-code
do the pizza program below:
create the top-down, flow-chart and pseudo-code for:
the cost of making a pizza is:
labor cost is $0.75 / pizza, regardless of the size
rent on the shop is $1.00 / pizza, regardless of the size
materials are $0.50 / diameter inch of pizza
create a program that calculates the total cost (don't forget HST) for a given diameter pizza.
once the design document is done, show me
then write the program
create the same above program in C
how would you format C?
NOTE: You can turn on "Closed Captions" to see a printout of what is being said by selecting the "CC" button.
You can also have it translate the closed captions by going to "Settings, Subtitles/CC, Auto-translate" and then pick your prefered language.