I think it is Biker Week 2018. Vroom…vroom…
Today is a gift…
Everyday is a gift to come.
May day play day…
Well, my advanced C++ programming coursework starts today. I am still working on the final exam from the prerequisite C++ course. I will write more later.
Random Number C++
#include <iostream>
#include <cstdlib>
#include <iomanip>
using namespace std;
int main()
{
cout << fixed << showpoint << setprecision(5);
cout << “The value of RAND_MAX: ” << RAND_MAX << endl;
cout << “A random number: ” << rand() << endl;
cout << “A random number between 0 and 9: “
<< rand() % 10 << endl;
cout << “A random number between 0 and 1: ”
<< static_cast (rand())
/ static_cast(RAND_MAX)
<< endl;
return 0;
}
The Journey Begins
Thanks for joining me!
Good company in a journey makes the way seem shorter. — Aaron Ironwood on Wisdom