Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Add two numbers in bash
bhupixb
Jun 20th, 2019
123
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!bin/sh
read -p "Enter the first number " x
read -p "Enter the second number " y
sum=$(($x+$y))
sum2=`expr $(($x%$y))`
echo $sum
echo $sum2
Add Comment
Please,
Sign In
to add comment
Public Pastes
Instant Profits Method
CSS | 31 min ago | 0.44 KB
Free Money Exploit
CSS | 31 min ago | 0.44 KB
+12,000$ in 2 days
CSS | 31 min ago | 0.70 KB
✅ Changelly Exploit
32 min ago | 0.44 KB
diabetes care
CSS | 13 hours ago | 4.70 KB
army order
CSS | 13 hours ago | 2.13 KB
ini.php
PHP | 14 hours ago | 7.91 KB
Weatherlight - Flash melts sand
16 hours ago | 0.96 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!