Question: PLEASE USE TERMINAL AND EXPLAIN STEPS Write a program that uses a random number generator to generate a three-digit integer that allows the user to

PLEASE USE TERMINAL AND EXPLAIN STEPS PLEASE USE TERMINAL AND EXPLAIN STEPS Write a program that uses arandom number generator to generate a three-digit integer that allows the user

Write a program that uses a random number generator to generate a three-digit integer that allows the user to perform the following operations: - Sum the digits (file sum_digits.cpp: sumDigits()) Triple the number (file triple_number.cpp: tripleNumber()) Reverse the digits (file reverse_digits.cpp: reverseDigits()) - Use an enum, typedef, and string variable Store 10 random numbers in an array . . Sort the array (file sort_array.cpp: sortArray()) Print the array (file print_array.cpp: printArray()) Write the array to a file (file array.txt, save_array.cpp: saveArray()) Write all the functions in their respective files. Configure the make facility to minimize recompilation(s) upon individual changes. Create a typescript output (using the command script) issuing the following sequence of commands. Please read and understand each command: Write all the functions in their respective files. Configure the make facility to minimize recompilation(s) upon individual changes. Create a typescript output (using the command script) issuing the following sequence of commands. Please read and understand each command: 1. script hw01.scr 2. date 3. ls -1 4. make all 5. ls -1 6. ./hw01 // interface with the program (sum, triple, reverse, sort, print) 7. exit the script program by issuing the EOF signal (ctl-d) or by typing exit) and create the tar package file using the following command: tar cf hw01.tar makefile hw01.h hw01.cpp sum_digits.cpp triple_number.cpp reverse_digits.cpp sort_array.cpp print_array.cpp save_array.cpp array.txt hw01. scr

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!