t68-70makingaprogram
DESCRIPTION
asdTRANSCRIPT
#include#includeusing namespace std;int getwhattheywant();void displayItems(int x);//main functionint main(){ int whattheywant; whattheywant = getwhattheywant(); while(whattheywant!=4){ switch(whattheywant){ case 1: displayItems(1); break; case 2: displayItems(2); break; case 3: displayItems(3); break; } whattheywant = getwhattheywant(); }}//getwhattheywantfunctionint getwhattheywant(){ int choice; cout