: :
: : I dont know the language we're surposed to be scripting in but the first line should be
: :
: : #!/bin/sh
: :
: : - Jonny
:
: This is called shell scripting.
:
: There are a couple of ways to do this. Use which ever one you like:
:
:
: #!/bin/sh
:
: echo "enter two numbers"
: read a b
:
: c=$(($a+$b))
: echo "$a + $b = $c"
:
: # or
:
: let c="$a+$b"
: echo "$a + $b is $c"
:
:
Cheers, i used the top 1 and its working fine...
- Jonny