//Ex 8 clc; clear; close; cp=1; cp_18=18; sp_18=21; gainPercent=(3/18)*100; mprintf("The profit percent is %3.2f percent",gainPercent);