Step 11

How many values does this input?

What happens if one of them is 99?
What happens if two of them are 99?
Notice it says a==99. Use two equals signs = = to check IF something is equal to something else. Use one equals sign to FORCE the assignment.

Program 11-1

Write a program which will input 6 numbers, and output a message if the value 10 is found among them

Program 11-2

Input a number - this is our search value. Then input another 5 numbers, and output a message whenever the serach value is found.

Index

Input:
Output:
Score:
Line
Statement
Var
Now
Next
1
a
 
2
b
 
3
c
 
4
d
 
5
e
 
6
7
8
9
10
11
12
13