
-----------------------------------
MattyGG
Wed Nov 24, 2004 2:19 pm

Class program
-----------------------------------

var number : int %Will take the number of words
var lngth : int % Variable for the length of the word
var value : int % Variable to use in the loop procedure of all the characters
var character1, character2 : string %The words chars
put "How many words would you like to enter?"
get number
var words : array 1 .. number of string
for x : 1 .. number
    get words (x)
end for
for i : 1 .. number
    lngth := length (words (i))
    value := ord (words (i) (1))

    if value >= 97 and value = 97 and value = 97 and value = 97 and value 