Question: C++ program compiled on visual studio. 1. Using C++'s random number generator rand() Use C++'s Random Number Generator (RNG) to generate random windspeed values, and

C++ program compiled on visual studio.

C++ program compiled on visual studio. 1. Using C++'s random number generator

rand() Use C++'s Random Number Generator (RNG) to generate random windspeed values,

1. Using C++'s random number generator rand() Use C++'s Random Number Generator (RNG) to generate random windspeed values, and print the Beaufort Wind Category for each value. The sample program random and clock.c will help with this part of the assignment. The Beaufort Wind Scale Chttps en wikipedia or wiki/Beaufort scale) defines 12 wind categories: 1mph calm 1-3 light air 4-7 light breeze 8-12 gentle breeze 13-18 moderate breeze 19-24 fresh breeze 25-31 strong breeze 32-38 high wind 39-46 gale 47-54 severe gale 55-63 Storm 64-72 violent storm hurricane >73 Assignment 1: 1) Using a for loop, use rand() to generate 10 random windspeed values between 0 and 100, and print the wind speed and theBeaufort Wind Scale label for each value

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!