Write a program that generates

Write a program that generates our recurring theme of the month and random rainfall. For this assignment, you will need to use pointers for the months and rainfall data.

Unlike the previous assignment this time the random rainfall will be double data type formatted as shown.Add header file #include <typeinfo> to your code so you can display the required results.

Don't use plagiarized sources. Get Your Custom Essay on
Need an answer from similar question? You have just landed to the most confidential, trustful essay writing service to order the paper from.
Just from $11/Page
Order Now

The first two lines of your output will show the type for the months and rainfall. You can name your pointer anything you want but the following is the required aforementioned code using ptr_month and ptr_rainAmountcout << “Month has type :” << typeid(ptr_month).name() << “\n”;cout << “Rainfall has type :” << typeid(ptr_rainAmount).name() << “\n”; Your output should resemble: