A global health organization (GHO) specialized in the field of introducing Covid-19 vaccines, wants to set the appropria

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

A global health organization (GHO) specialized in the field of introducing Covid-19 vaccines, wants to set the appropria

Post by answerhappygod »

A Global Health Organization Gho Specialized In The Field Of Introducing Covid 19 Vaccines Wants To Set The Appropria 1
A Global Health Organization Gho Specialized In The Field Of Introducing Covid 19 Vaccines Wants To Set The Appropria 1 (50.41 KiB) Viewed 121 times
A Global Health Organization Gho Specialized In The Field Of Introducing Covid 19 Vaccines Wants To Set The Appropria 2
A Global Health Organization Gho Specialized In The Field Of Introducing Covid 19 Vaccines Wants To Set The Appropria 2 (45.97 KiB) Viewed 121 times
A global health organization (GHO) specialized in the field of introducing Covid-19 vaccines, wants to set the appropriate dates for holding a series of workshops during the month of January in Geneva. However, due to the difficulty of traveling in the current circumstances, the company decided to rely on the expected weather data in Geneva during the month of January to limit the dates of the workshops and announce them to different countries to take the necessary measures to bring specialists to these workshops. Weather data related to the outlook (sunny, overcast, rain), humidity (high, normal), and wind (weak, strong) were collected, and the organization decided to adopt the following conditions to accept a workshop on a specific day. • If the outlook is sunny then the humidity should not be high to implement a workshop. • If the outlook is overcast then implement a workshop. • If the outlook is rainy then we cannot implement a workshop if the wind is strong.

Tasks: Write a C++ program to implement the following: 1. Read forecast information from input file called weather.txt and decide if the weather is suitable to implement a workshop in that day.. 2. Your program should implement the following two functions: a. forecast_function: a function that return the decision regarding workshop implementation in a single day. b. decision_display: Void function that receives workshop implementation decision from the precious function and provide the output table using the format shown below. Day Outlook 1 Sunny 2. Sunny 3 Overcast Rain 5 Rain 6 Rain 7 Overcast 8 Sunny 9 Sunny Rain Sunny 12 Overcast 13 Overcast 14 Rain Humidity High High High High Normal Normal Normal High Normal Normal Normal High Normal High Wind Weak Strong Weak Weak Weak Strong Strong Weak Weak Weak Strong Strong Weak Strong 10 11 Figure 1: Sample input file wind Workshop Yes Yes Yes No Outlook Humidity Sunny High Sunny High Overcast High Rain High Rain Normal Rain Normal Overcast Normal Sunny High Sunny Normal 10 Rain Normal Sunny Normal 12 Overcast High hs Overcast Normal 14 Rain High Press any key to continue Yes weak Strong Weak weak Weak Strong Strong weak weak weak Strong Strong weak Strong NO Yes Yes Yes Yes NO
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply