im pretty new to c++

im trying to run main funtion, but i cant figure out how to run the while statement as a case

any ideas


CASE A( Data == "Add")
Add_City( list );

CASE B( Data == "Clear")
Delete_City ( list );

CASE C( Data == "Output")
View_City( list );

CASE D( Data == "Update")
Update_City( list );

CASE E(Data == "Quit")
cout << "Normal Termination of Counter Program";

how can i make that compile?