Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 21st, 2018
81
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
char calc (int a, int b, char oper)
{ char p;
switch(oper)
{
case '*': p = a*b; break;
case '/': p = a/b; break;
case '+': p = a+b; break;
case '-': p = a-b; break;
}
return (p);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Send data to api
Dart | 5 min ago | 1.63 KB
Average number
Python | 11 min ago | 0.27 KB
Data Grid View (dgv) in c# windows forms
C# | 22 min ago | 4.84 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 22 min ago | 0.38 KB
Stream of letters
Python | 31 min ago | 0.61 KB
Untitled
CSS | 36 min ago | 1.90 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
XML | 1 hour ago | 5.14 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!