Question: Write a C++ program that will use the correct variable of the tm structure (provided by the header file) to obtain the value of current

Write a C++ program that will use the correct variable of the tm structure (provided by the header file) to obtain the value of current day of week. Then, create an array of string type named weekday whose elements are the names of day of week in Japanese. Below is a list of the Japanese names for the day of week.

English Japanese
Sunday Nichiyobi
Monday Getsuyobi
Tuesday Kayobi
Wednesday Suiyobi
Thursday Mokuyobi
Friday Kinyobi
Saturday Doyobi

If the current day of week is Friday, be sure to display the output similar to the following in Japanese.

Write a C++ program that will use the correct variable of the

Developer Com. C:\csci 123>ex4 1.exe Value of variable: 5 Today is Kinyobi in Japan

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!