diff options
Diffstat (limited to '1553/CH11/EX11.11/11Ex11.sce')
-rw-r--r-- | 1553/CH11/EX11.11/11Ex11.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH11/EX11.11/11Ex11.sce b/1553/CH11/EX11.11/11Ex11.sce new file mode 100644 index 000000000..1d95fad03 --- /dev/null +++ b/1553/CH11/EX11.11/11Ex11.sce @@ -0,0 +1,10 @@ +//Ex 11
+
+clc;
+clear;
+close;
+cp_3=1;
+sp_3=(150/100)*cp_3;
+t_sold=3;
+n=t_sold/sp_3; //Number of toffees sold
+printf("The number of toffees sold are %d",n);
|