summaryrefslogtreecommitdiff
path: root/2993/CH1/EX1.2/Ex1_2.sce
blob: 94c0e1c3bd0e4eb4df1ac4c358d5919f967dd2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

clc;
clear;

//Required storage space in Bytes
Storage_space = 1024 * 1024 * 3 ;

//Required storage space in Kilo Bytes
Storage_space = Storage_space / 1000; //1 KB = 1000 Byte

format('v',9)
disp(Storage_space,"The storage space required for a 1024 x 1024 24-bit colour image (in KB) is ")