Tháng mấy đây ?

View as PDF

Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Viết chương trình nhập tháng (số nguyên). Hiển thị tên tháng.

Input

Input một dòng duy nhất là số nguyên thuộc khoảng 1 đến 12

Output

Output một dòng duy nhất là tháng tương ứng

Examples

Input

7

Output

July

Comments

Please read the guidelines before commenting.



  • 0
    chieuminhdeptrai  commented on Oct. 1, 2025, 2:22 p.m.

    😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏😏


  • 0
    chieuminhdeptrai  commented on Oct. 1, 2025, 2:21 p.m.

    ez kid


  • 0
    chieuminhdeptrai  commented on Oct. 1, 2025, 2:15 p.m. edit 2

    include <iostream>

    using namespace std;

    int main() { int thang; cin >> thang;

    if (thang == 12) cout << " December "; else if (thang == 11) cout << "November"; else if (thang == 10) cout << "October"; else if (thang == 9 ) cout << "September"; else if (thang == 8) cout << "August"; else if (thang == 7) cout << "July "; else if (thang == 6) cout << "June"; else if (thang == 5) cout << "May"; else if (thang == 4 ) cout << "April"; else if (thang == 3) cout << "March"; else if (thang == 2) cout << "February"; else if (thang == 1) cout << "January";

    return 0;
    

    }

    memaybeo