Edexcel GCSE in Computer Science lesson activities for ...

7) Write a function that will receive as an input argument a length in inches, and will print in a sentence format the length in both inches and centimeters (1 inch = 2.54 cm). Note that this function will not return any value. printLengths.m. function printLengths(inch) % Receives a length in inches and prints % the length in inches and ... ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download