fork download
  1. echo "enter the first num:"
  2. read n1
  3. echo "enter the second num:"
  4. read n2
  5. sum=`echo $n1 +$n2 |bc`
  6. echo "sum="$sum
  7.  
Success #stdin #stdout #stderr 0.01s 5320KB
stdin
4
i love hackerrank
hackerrank is an awesome place for programmers
hackerrank
i think hackerrank is a great place to hangout
stdout
enter the first num:
enter the second num:
sum=
stderr
(standard_in) 1: syntax error