Question: MATHLAB CODE ONLY PLEASE Assignment 1 (MATLAB) 01 Write a script that prompts the user for a positive input and multiply it by 2 repeatedly
MATHLAB CODE ONLY PLEASE
Assignment 1 (MATLAB) 01 Write a script that prompts the user for a positive input and multiply it by 2 repeatedly until the product becomes larger than 500 a) The script needs to check the input value if it is positive. If a negative value is input, the script should display on screen a warning message Error: negative input. Try again. Display the final product on the screen. Display the number of performed multiplications on the screen. b) c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
