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

Method input

Lab_21/city_temperature_control.cpp:26–31  ·  view source on GitHub ↗

inputing the data for ID and name

Source from the content-addressed store, hash-verified

24public:
25 // inputing the data for ID and name
26 void input() {
27 cout << "Enter ID of the city: ";
28 cin >> cityID;
29 cout << "Enter Name of the city: ";
30 cin >> cityName;
31 }
32
33 int getCityID() {
34 return cityID;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected