Variables


examples


Classwork

In a text document:

1. does this code find the average of the three grades? If not, what would we have to write so that it would be correct?

 average = grade1 + grade2 + grade3 / 3

2. Write pseudocode to declare (with types) variables that would be used for storing the following in a program, and make up a value for each and assign it.   Think about what to name your variables so it is obvious what they store.  Consider whether any of these might be constants and name appropriately