User Tools

Site Tools


bash:math:adding_values

This is an old revision of the document!


BASH - Math - Adding values

#!/bin/bash
echo -n "Enter first number:"
read x
echo -n "Enter second number:"
read y
(( sum=x+y ))
echo "The result of addition=$sum"
bash/math/adding_values.1589876162.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki