#include using namespace std; void main() { int dayOfChristmas; cin >> dayOfChristmas; switch (dayOfChristmas) { case 12: cout << "12 drummers drumming" << endl; case 11: cout << "11 pipers piping" << endl; case 10: cout << "10 lords a leaping" << endl; case 9: cout << "9 ladies dancing" << endl; case 8: cout << "8 maids a milking" << endl; case 7: cout << "7 swans a swimming" << endl; case 6: cout << "6 geese a laying" << endl; case 5: cout << "5 golden rings" << endl; case 4: cout << "4 callings birds" << endl; case 3: cout << "3 French hens" << endl; case 2: cout << "2 turtle doves and" << endl; case 1: cout << "Partriege in a pear tree" << endl; } } //void main() //{ // int dayOfWeek; // cin >> dayOfWeek; // // switch (dayOfWeek) // { // case 1: // cout << "Sunday" << endl; // break; // case 2: // cout << "Monday" << endl; // break; // case 3: // cout << "Tuesday" << endl; // break; // case 4: // cout << "Wednesday" << endl; // break; // case 5: // cout << "Thursday" << endl; // break; // case 6: // cout << "Friday" << endl; // break; // case 7: // cout << "Saturday" << endl; // break; // } // //} //void main() //{ // //spliting whole money from cents // //rounding up fractional cents by adding .005 // double money; // cin >> money; // // int wholeMoney = money; // int cents = (money - wholeMoney + .005) * 100; // // cout << "wholeMoney = " << wholeMoney << endl; // cout << "cent = " << cents << endl; // // //}