|
Nov 1 (7 days ago)
![]() | ![]() ![]() | ||
Salam Guys,
First homework
create a calculator by creating 4 ruby functions
1. Addition takes 5 arguments from which 2 is required and 3 are optional and it return the total
2. Subtraction takes 5 arguments from which 2 is required and 3 are optional and it return the total
3. Multiplication takes 5 arguments from which 2 is required and 3 are optional and it return the total of multiplications
4. Division takes only two arguments and it return the division
Link to the books
https://www.dropbox.com/sh/ pf3pjos9pvi4fc4/ AADccmxsyJK6ibMg0E-Q9if0a?dl=0
Please read chapter 3 from the Ruby book.
Thanks
First homework
create a calculator by creating 4 ruby functions
1. Addition takes 5 arguments from which 2 is required and 3 are optional and it return the total
2. Subtraction takes 5 arguments from which 2 is required and 3 are optional and it return the total
3. Multiplication takes 5 arguments from which 2 is required and 3 are optional and it return the total of multiplications
4. Division takes only two arguments and it return the division
Link to the books
https://www.dropbox.com/sh/
Please read chapter 3 from the Ruby book.
Thanks

No comments:
Post a Comment