Professional Documents
Culture Documents
Lesson3 Array of Strings
Lesson3 Array of Strings
3 STRINGS
String
char color [10] = “Red”;
Array of Strings
color [0] R e d \0
color [1] B l u e \0
color [2] Y e l l o w \0
Variables
names of 3 students with maximum size of 20 each name including ‘\0’
studname[0] (first student ) studname[1] (second student )
studname[2] (third student )
grade of 3 students
testing each student grade if within the passing grade of 75 and above
used to skip/discard the enter key pressed after inputting student grade
IT 105 Computer
IT 105 Computer Programming 2 Programming 2
Array of Strings
INPUT
OUTPUT