fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5. int main() {
  6. char c = 'a';
  7. vector<string> answers = {"zielony", "czerwony", "niebieski"};
  8. for(const auto &answer: answers) {
  9. cout << endl << c << ". " << answer;
  10. c++;
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
a. zielony
b. czerwony
c. niebieski