#!/bin/bash # Script to determine pass or fail based on marks echo "Enter the student's marks:" read marks # checking whether the student is passed or failed if [ $marks -ge 40 ]; then echo "The student has Passed!" else echo "The student has Failed." fi