i'm beginner with Unix, I tried my best, but I Really don't know how to finish it .
here's my problem : I have to do something like Student system - student's name | subjects | mark |credits.
after starting script it will ask you for Student's name, then which subject, then the mark will appear.
It's a homework, and I have my own idea how to solve it, but cannot finish it, i don't want complete solution, just a help!
echo "Students name"
echo -n "Enter student's name: "
case $name in
Example1|Math) echo "C" ;;
Example2|Programming) echo "D" ;;
Example3|WWW) echo "A" ;;
Example4|Economie) echo "-" ;;
I don't now how to bring together case with second things which is "enter subject".
I appreciate any help