CIS22A - Fall 2019 - Lab Exercise 6
due Wednesday, 10/30 8:30 am
Lab exercises are not accepted late.
Put your name, Lab Exercise 6, and compiler and the operating system used in a
comment at the top
of your program. Email only your source code. Your source code should
be sent as an attachment (with the name ex6.cpp).
Use
"Ex6" as the subject of your
email submission
Program
Requirements
Write
a program in which you generate 25 random numbers (type int) between 50
and 100 inclusive. Write each number into a file, displayed as
type char, one number per line. Use the file name, ex6output.txt, and make sure you check for a successful file open. Your output file should look something like this: