#include #include "cmenu.hpp" void CMenuBell::Do_Command(void) { putc('\007',stdout); } void CMenuSaying::Do_Command(void) { puts("If you know the meaning of the universe,"); puts("Make the sound of one hand clapping."); } void CMenuAdd::Do_Command(void){ double x, y; printf("Enter a number: "); scanf("%lf", &x); printf("Enter a number: "); scanf("%lf", &y); printf("The total of the numbers is %f.", x + y); } int num_commands; CMenu *commands[20];