I am trying to prompt the user using tput command to read the information ( 5 last names, first names and grades) from the keyboard. Save the data in a file called student.txt. Sort the file by last name and display it on the screen
My pseudocode is as follow:
Pseudocode:
Initialize your variables (counter)
while counter < 6 (Need to read 5 last names, first names and grades)
Prompt the user to enter last name // Use tput to display the prompt
read last name
prompt the user to enter first name // Use tput command
Save the information in a file