In this additional problem, you need to plot an Excel chartgiving the output of the Flight simulator problem. You need to plotthe average speed of the wind for both (a) without storm and (b)with storm conditions. It was explained well in the Lab.
// ConsoleApplication66.cpp : Defines the entry point for theconsole application.
// Flight simulator program
#include “stdafx.h”
#include <stdlib.h>
#include <math.h>
#define RAND_MAX 32768
#define N 25
int main()
{
unsigned int seed;
double aver_wind_speed,gusts;
doublewind_speed_plus_gusts[N];
double rand_float(double a,double b);
int i;
printf(“Enter the averagewind speed: “);
scanf_s(“%lf”,&aver_wind_speed);
printf(“Enter unsignedinteger:”);
scanf_s(“%u”,&seed);
srand(seed);
printf(“Time t Wind Speedn”);
for (i = 0; i < N; i++){
gusts = rand_float(-2, 2);
/*
PayPal Gateway not configured
PayPal Gateway not configured