LOADING...
The sea roared and churned beneath the pirate ship, as the salty air whipped through the sails. The Pirate Captain stood on the deck, his eyes fixed on the endless horizon. He had spent hours counting his crew, one by one, as the waves crashed against the hull.
You see captain, counting one by one is so exhausting :) Your next task is adding features to your program below:
- While initializing Crew account you should be able to number of crew to arbitrary number instead of 0. JUST LIKE COURSE 1
- While both increasing and decreasing your number of crew you should be able to also arbitrary value.
While implementing these features please use this variable as u64 in the three instructions by passing parameter:
value: u64
If you stuck in this task feel free to look answer by clicking SHOW ANSWER :)