summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.24/10Ex24.sce
blob: aa827c6b2c714a023b868d38c0b2711ca2ab33ef (plain)
1
2
3
4
5
6
7
8
//chapter 10 Ex 24

clc;
clear;
close;
inc=25/100;
red=(inc/(1+inc))*100;
mprintf("The reduction in consumption should be %d percent",red);