Question: Can this please be done in basic C Write a program to ask the user for their first and last names, and then generate and
Can this please be done in basic C

Write a program to ask the user for their first and last names, and then generate and display 2 random numbers in the range of 1 through 100 (inclusive). Make the string variables large enough to hold names of 19 characters (plus the null, terminating character). Generate the 1st (pseudo-random) number without seeding the random number generator (which will default to a seed value of 1 , and always produce the pseudo-random number 42 ), but seed the random number generator with the system time before generating the 2nd ('true') random number. Have a blank line between the input and the output. Follow the 3 steps in the Information Processing Cycle Input, Processing, and Output. Use tabs ('\t') to create the 2 columns - one for the pseudo-random number, and 1 for the 'true' random number. You will need to include h (for rand () and srand ()) and stime. h> (for time ()). Have a blank line at the end of your program to separate the last line of output from your program from the "Press any key to continue ...", and do this for all programs that you write. Example Run \#1: (bold type is what is entered by the user) Enter your first name: George Enter your last name: Fiori George Fiori - here are the random numbers: pseudo-random 'true' random 42xx The example run show EXACTLY how your program input and output will look
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
