Bash Program for Marksheet

echo "Enter names & marks of 3 Students"
echo -n "Enter name of 1st student : "
read name1
echo -n "Enter marks of student 1 : "
read marks1
echo -n "Enter name of 2nd student : "
read name2
echo -n "Enter marks of student 2 : "
read marks2
echo -n "Enter name of 3rd student : "
read name3
echo -n "Enter marks of student 3 : "
read marks3
echo $name1
echo $marks1
echo $name2
echo $marks2
echo $name3
echo $marks3
echo -e "Name \t\t Marks"
echo -e "$name1 \t\t $marks1"
echo -e "$name2 \t\t $marks2"
echo -e "$name3 \t\t $marks3"


You can Fork this Program with the Below Link:

Comments