1 2 3 4 5 6 7 8 9 10
//Ex 2 clc; clear; close; cp=490; sp=465.50; loss=cp-sp; lossPercent=(loss/cp)*100; printf("The loss is %d percent",lossPercent);