The World of Numbers

  • + 0 comments

    !/bin/bash

    read X read Y

    if [[ X -gt 100 || Y -gt 100 || $Y -eq 0 ]]; then exit 1 fi

    sum=((X-Y)) product=((X/Y))

    echo difference echo quotient