Question: The code must be in C++ Question 3. You have to parse a user password input as shown in the following 2021@NAME into an integer,

The code must be in C++
Question 3. You have to parse a user password input as shown in the following 2021@NAME into an integer, character, and string output respectively. However the user input is @2021NAME, resulting a fail state in your program. Write an algorithm and C++ program by which you would get the input stream back in the buffer from failed state, and output the following in .txt file Character String NAME Year 2021 (25 marks) Question 4. Write an algorithm and C++ code of your till date homework and weekly task submission performance and output it as in the following format. firstName lastName CSC 101 (Class 2077) Homework WeeklyTask Date Status Write homework and weekly task as 1.2 etc., date, status as submittedotSubmitted (left aligned). Display at the end of the table calculation of percentage of submission as (noOfSubmission/totalNumber Of Homeworks) 100. Input your fortsName and lastName and output the above said format in a.txt file (25 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
