summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.8/11Ex8.sce
blob: 014e8422f304fbc2027a4799e623adfc9177ec51 (plain)
1
2
3
4
5
6
7
8
9
//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);