Common uses for spreadsheet documents be
-Organizing bills and money
-Groups of people and events
-Family plannings for weeks
-Grocery Lists.
I hope this helps!
Answer:
const MAXNR=150;
let candidates = {};
for(let i=2; i<=MAXNR; i++) {
candidates[i] = true;
}
for(let p=2; p <= MAXNR; p++) {
if (candidates[p]) {
process.stdout.write(`${p} `);
// Now flag all multiples of p as false
i=2;
while(p*i <= MAXNR) {
candidates[p*i] = false;
i++;
}
}
}
You did not specified the language, so I did my program in python.
Hope it helps!!!
ANSWER:
1)i. The relationship is a degree of 2 ( i.e Binary). The cardinality of the relationship is One-to-Many.
ii. The model is from piano description to piano manufacturer.
PIANO:
Model name
Model number
Serial number
Manufacturing completion date
MANUFACTURER:
Ebony and Ivory
2)i. The relationship is a degree of 2 ( i.e Binary). The cardinality of the relationship is Many-to-Many.
ii. The model is from piano description to Technician.
PIANO:
Model name
Model number
Serial number
Manufacturing completion date
TECHNICIAN
Employee number
Specialty
3)i. The relationship is a degree of 2 (i.e Binary). The cardinality of the relationship is Many-to-One.
ii. The model is from Technician to Technician
TECHNICIAN:
Lower rank
TECHNICIAN:
Higher rank