MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / main

Function main

Lab_14/Source.cpp:116–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 d1 == d2;
115}
116int main()
117{
118 int choice;
119
120 do
121 {
122
123 cout << "1. Rectangle" << endl
124 << "2. Distance" << endl
125 << "3. Exit" << endl
126 << "Your choice: ";
127 cin >> choice;
128 switch (choice)
129 {
130 case 1:
131 system("cls");
132 RectangleFirst();
133 system("pause");
134 case 2:
135 system("cls");
136 DistanceSecond();
137 system("pause");
138 default:
139 break;
140 }
141 } while (choice != 3);
142
143 return 0;
144}

Callers

nothing calls this directly

Calls 2

RectangleFirstFunction · 0.85
DistanceSecondFunction · 0.85

Tested by

no test coverage detected