CS201 Assignment No. 3 Spring 2020 Solution by VU ACADEMY
▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂
Short Lectures CS201 Introduction to Programming :
• Short Lectures CS201 Introduction to Progr...
▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂
For More Lecture Videos and Assignment Solutions, Subscribe My Channel and Press the Bell Icon
/ vuacademy1
▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂
Website: https://vuacademy1.blogspot.com/
▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂
Like my Facebook Page: / vu-academy-100334008416764
▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂
Assignment Solution File Download Link : https://1drv.ms/u/s!AlMyUBmXIPC_gSJM9...
▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂ ▂
Objectives:
To enable students to understand and practice the concepts of:
• Classes
• Objects
• Loops
• File handling
Assignment Statement:
Assume you are working as a sports data analyst for a university named “ABC University”. Your job is to collect data of different players and judge their performance. Based on the data collected from players, their performance for a given season will be analyzed and comparison among players of the team will be made for selection. For this purpose, you are required to write a program in C++ that will create a class named “Sports”. The class will create a file named “Sample.txt” in the current directory. You will use file handling mechanism for entering player’s information. Following tasks are required:
• You are required to create a class named “Sports”.
• Declare three data members of Sports class named playername, game_name and total_wins with appropriate data types.
• The class will consist of 6 functions named input_file(), read_file(), notstartingwithA(), lower(), upper() and digit() respectively along with a default constructor. The description of each function is given with the screenshots in the “Sample output”.
• In the main() function an object of the class “Sports” will be created and it will be used along with switch statement to call the functions mentioned above. i.e. input_file(), read_file(), notstartingwithA(), lower(), upper() and digit().
• Initially a menu will be displayed consisting of different choices as shown below:
#CS201
#CS201Assignment3
#CS201AssignmentSolution
#CS201SolvedAssignment
#CS201Assignment3Solution2020
#CS201Assignment3Spring2020
#CS201AssignmentSolution
#CS201Programming
#CS201AssignmentNo3
#CS201Assignment3Solution2020
#CS201Solution
#CS201Assignment3Solution2020
#CS201SolutionLink
#CS201Assignment3Solution2020
#CS201DownloadLink
#CS201AssignmentPDF
#CS201AssignmentCPP
#C
#CS201Assignment3Solution2020
#CS201AssignmentSolutionCPP
#CS201CPPFile
#CS201Assignment
#CS201Assignment3Solution2020
#CS201AssignmentDownload
#CS201Solve
#CS201Assignment3Solution2020
#CS201Assignment3
#CS201Assignment3Solution2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020
CS201 Assignment 3 Solution 2020