Update rebuild
This commit is contained in:
Binary file not shown.
26
CM2005 Object Oriented Programming/Topic 1/1.3.2/main.cpp
Normal file
26
CM2005 Object Oriented Programming/Topic 1/1.3.2/main.cpp
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main(int argc, char const *argv[])
|
||||||
|
{
|
||||||
|
// 1 print help
|
||||||
|
std::cout << "3: Make an offer " << std::endl;
|
||||||
|
// 2 print exchange stats
|
||||||
|
std::cout << "2: Print exchange stats " << std::endl;
|
||||||
|
// 3 make an offer
|
||||||
|
std::cout << "3: Make an offer " << std::endl;
|
||||||
|
// 4 make a bid
|
||||||
|
std::cout << "4: Make a bid " << std::endl;
|
||||||
|
// 5 print wallet
|
||||||
|
std::cout << "5: Print wallet " << std::endl;
|
||||||
|
// 6 continue
|
||||||
|
std::cout << "6: Continue" << std::endl;
|
||||||
|
|
||||||
|
std::cout << "==========" << std::endl;
|
||||||
|
std::cout << "Enter an option: " << std::endl;
|
||||||
|
|
||||||
|
int userOption;
|
||||||
|
std::cin >> userOption;
|
||||||
|
std::cout << "You chose: " << userOption << std::endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user