Preview:
#include <iostream>

using namespace std;

int main()
{
    int day;
    cout << "Choose A Day From 1 To 25\n";
    cin >> day;
    
    /* if (day == 1)
    {
        cout << "Open From 08:00 To 14:00";
    }
    else if (day == 2)
    {
        cout << "Open From 08:00 To 14:00";
    }
    else if (day == 2)
    {
        cout << "Open From 10:00 To 16:00";
    }
    else
    {
        cout << "Sorry, Closed";
    }
    */
    
    switch (day)
    {
        case 1:
        case 2:
            cout << "Open From 08:00 To 14:00";
            break;
        case 3:
            cout << "Open From 10:00 To 16:00";
            break;
          default:
            cout << "Sorry, Closed";
        
    }
    return 0;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter