JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
duke 2
read me first
4 enter values
5 update
6 caculate
challenges
Awesome! Congratulations!
More
Share
Explore
6 caculate
program instructions can create new results from data by transforming the values
arithmetic
input process and output a result which involves an arithmetic calculation
text
input process and output a result that involves working with text
updating a total
use input, process, output to calculate total points for an athletics event
boolean
using Boolean values and logic to produce a result
debug calculation
debug a program that should calculate results using data entered from the keyboard
Introducing the idea of Input > Process > Output as a basic plan for using data
a program will evaluate an expression that includes values and operations to change the values into new values
You will be able to develop code that:
asks a user to type in some values
the program will use the values to produce a result by carrying out operations that will change the data in some way
display the result that has been produced
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.