How do you print out a super class and sub classes using an array and percentage for how many time you print. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you print out a super class and sub classes using an array and percentage for how many time you print.

make a super class with 2 sub classes. make another class that uses arrays to print out the super and sub classes depending with the percentage

8th Dec 2017, 11:08 AM
Miriam Abaata
Miriam Abaata - avatar
2 Answers
+ 6
The question is not clear enough (specially the array and percentage part). Please share your code with whatever you've tried so far, so that others can understand and help :)
8th Dec 2017, 4:00 PM
Shamima Yasmin
Shamima Yasmin - avatar
0
already finished abd turned it in
8th Dec 2017, 8:20 PM
Miriam Abaata
Miriam Abaata - avatar