blob: 42134de528e5f3aefe91075f77c3df156ebc2dec (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Chapter 06: Counting
clc;
clear;
mc=32 //total no of microcomputers
p=24 //total no of ports in each microcomputer
sol=mc*p
//total number of different ports to a microcomputer in the center are found using product rule
mprintf("Total number of ports is %d",sol)
|