Test

C code posted
created at 30 Jul 22:01

Edit | Back
1
2
3
4
5
6
7
8
9
10
// Bad C++ Example
WithdrawalTransaction withdrawal;
withdrawal.setCustomerId( customerId );
withdrawal.setBalance( balance );
withdrawal.setWithdrawalAmount( amount );
withdrawal.setWithdrawalDate( date );
ProcessWithdrawal( withdrawal );  // routine call

// Good C++ Example
ProcessWithdrawal( customerId, balance, amount, date );
341 Bytes in 2 ms with coderay