We're writing codes and I'm completely lost on this one:
You must implement a function with the following prototype:
void hailstones (int n) ;
The user only inputs the first hailstone number. All the rest and the total number of hailstones should be output by your program.
Rubrics:
-No prompt line
-Incorrect hailstones
-Incorrect total number