//Ex 1 clc; clear; close; cp=27.50; sp=28.60; gain=sp-cp; gainPercent=(gain/cp)*100; printf("The gain is %d percent",gainPercent);