Asked by JAZZY
Write a program to plot a face. Provide a class FaceViewer and a class FaceComponent.
Answers
Answered by
MathMate
That's interesting.
FaceViewer is the one that interacts with the user and can input options, male/female, nose shape, eyes, hair style, etc.
The FaceComponent can be used to provide different inherited classes, nose, mouth, eyes, hair, etc. Each component can have different shapes, big nose like Cyrano, curly/straight hair, etc.
Post what you have if you need ideas, have problems, or need help debugging.
FaceViewer is the one that interacts with the user and can input options, male/female, nose shape, eyes, hair style, etc.
The FaceComponent can be used to provide different inherited classes, nose, mouth, eyes, hair, etc. Each component can have different shapes, big nose like Cyrano, curly/straight hair, etc.
Post what you have if you need ideas, have problems, or need help debugging.
There are no AI answers yet. The ability to request AI answers is coming soon!