Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
error
//g++ 5.4.0 #include <iostream> using namespace std; void transaction(double t); int main() { try { cout<<"step 1"<<endl; transaction(80); cout<<"step2"<<endl; transaction(40); cout<<"step3"<<endl; } catch (char *x) { cout<<x<<endl; } cout<<"step 4"<<endl; } void transaction(double amt) { cout<<"beginning transaction"<<endl; if(amt<50) throw "less than minm balance"; }
run
|
edit
|
history
|
help
0
chocolate Distribution Problem
CPP - Ex 5
Search in a rotated sorted array
DailyGroceryHisto
პირამიდის ფართობი~ფინალური
decrypt_problem_5
iuadhfaoiufs
k1
TraiectorieIdeala2
Type erasure