Julia calculateArea
•Write a function calculateArea that takes two arguments, length and width, and calculates the area of a rectangle. Use multiple dispatch to implement the function so that it works with both scalars and arrays of numbers. •Create a custom type Animal with properties name and species. Implement a function speak that takes an Animal object […]
Julia calculateArea Read More »