Question: Please use simple C++ language as my class is just starting strings and has not done much with them yet. (format_output.cpp) Write a C++ program

Please use simple C++ language as my class is just starting strings and has not done much with them yet.Please use simple C++ language as my class is just starting strings

(format_output.cpp) Write a C++ program that prompts the user to enter three names. The program generates an ID for each user with three random uppercase characters and 3 random digits in the form of CCC-DDD (C for character, and D for digit). [Hint: The digits must be declared as characters.] The program displays the information in the following format: Name ID Marie Curie MCF-198 Thomas Edison THM-397 Albert Einstein EZA-599 (format_output_text.cpp) Use the code for question 7 and write a C++ program that creates a text file with an output similar to question 7. You can use string manipulators such as setw and setprecision for an output file. Write another C++ program to open the same file and displays the names and IDs for those people with the same format as question 7. (format_output.cpp) Write a C++ program that prompts the user to enter three names. The program generates an ID for each user with three random uppercase characters and 3 random digits in the form of CCC-DDD (C for character, and D for digit). [Hint: The digits must be declared as characters.] The program displays the information in the following format: Name ID Marie Curie MCF-198 Thomas Edison THM-397 Albert Einstein EZA-599 (format_output_text.cpp) Use the code for question 7 and write a C++ program that creates a text file with an output similar to question 7. You can use string manipulators such as setw and setprecision for an output file. Write another C++ program to open the same file and displays the names and IDs for those people with the same format as question 7

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!