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.

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
Get step-by-step solutions from verified subject matter experts
