Commit 9fa80216 authored by Karine's avatar Karine

Exercise_05_28, Version2

parent a95e672c
......@@ -7,22 +7,22 @@ main()
std::cout << "On the ";
switch (day) {
case 1: std::cout << "first"; break;
case 2: std::cout << "second"; break;
case 3: std::cout << "third"; break;
case 4: std::cout << "fourth"; break;
case 5: std::cout << "fifth"; break;
case 6: std::cout << "sixth"; break;
case 7: std::cout << "seventh"; break;
case 8: std::cout << "eighth"; break;
case 9: std::cout << "ninth"; break;
case 10: std::cout << "tenth"; break;
case 1: std::cout << "first"; break;
case 2: std::cout << "second"; break;
case 3: std::cout << "third"; break;
case 4: std::cout << "fourth"; break;
case 5: std::cout << "fifth"; break;
case 6: std::cout << "sixth"; break;
case 7: std::cout << "seventh"; break;
case 8: std::cout << "eighth"; break;
case 9: std::cout << "ninth"; break;
case 10: std::cout << "tenth"; break;
case 11: std::cout << "eleventh"; break;
case 12: std::cout << "twelfth"; break;
case 12: std::cout << "twelfth"; break;
}
std::cout << " day of Christmas" << std::endl
<<"my true love sent to me:" << std::endl;
<< "my true love sent to me:" << std::endl;
switch (day) {
case 12: std::cout << "12 Drummers Drumming" << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment