Unnamed
public text v1 · immutableBEGIN {FS=" "
printf ("STUDENT GRADES\n\n")
}
{
BEGIN {
loopval = 1
BEGIN {
printf ("Enter in the information like the following example\n")
printf ("Firstname Lastname 77 87 99 23 60\n")
printf ("Press enter after each entry\n")
printf ("type done when you have finished entering data\n")
loopval = 1
while (userinput[loopval-1] != "done")
{
getline
userinput[loopval] = $0
loopval += 1
}
{
printf ("test")
}
}
END {
printf ("STUDENT GRADES\n")
}