Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- float potPrice[7] = {90, 157.5, 157.5, 99, 67.5, 99, 90};
- int country;
- int main(){
- cout << "1. Sweden";
- cout << endl;
- cout << "2. Poland";
- cout << endl;
- cout << "Choose country: ";
- cin >> country;
- country1 = country-1;
- cout << potPrice[country1];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement