Question: I need the answer as soon as possible For this assignment you will create a small program that reads a file containing different crypto currencies.
I need the answer as soon as possible 
For this assignment you will create a small program that reads a file containing different crypto currencies. The file you will need to read is Coins.csv Use the Crypto-Currencies e repo from our GitHub Classroom as a starting point. Once the assignment is accepted, review the file structure and notice the "doctest.h" file. Download the Coins.csv file and place it in your project folder. Note: The folder "TestData" is not used for this assignment. Code the program according to the following requirements: Modify the README.md file so that it: Contains a status badge . Contains a meaningful description of the project. In the source file (CPP), create a class that contains: 3 public member functions: A function to open the file and store the file object or data. The function should return true on success and false on failure. Commit with message of your choice. A function to read the data from the CSV file and place the data in an array of structures. The function should return the count of structures in the internal array. Commit with message of your choice. A function to count the number of coins whose symbol begins with a particular letter. The function should return the count of coins found. Commit with message of your choice. Member variables: a structure definition containing the attributes of the crypto coin (use the Coins.csv file to determine this). an array of crypto coin structures that gets filled with the data from the file. A doctest e testcase that replaces "main()' and tests the results of each to the functions. As an example: . TEST_CASE("Testing the crypto coins class") { Cryptos cryptos; CHECK (cryptos. OpenFile("coins.csv") -- true); CHECK(cryptos. ParseCurrencies(== COIN_COUNT); CHECK(cryptos. CountCoins StartingWithLetter('a') != 5); CHECK(cryptos.CountCoinsStartingwithLetter('a') == 6); CHECK (cryptos. CountCoins StartingWithLetter('a') 1-7); Run all local tests and fix any errors/bug until your program passes all tests. Commit these changes with the message: "Updated README page with badge and description" Push all changes to your remote GitHub repo. Validate that the build badge indicates success. For this assignment you will create a small program that reads a file containing different crypto currencies. The file you will need to read is Coins.csv Use the Crypto-Currencies e repo from our GitHub Classroom as a starting point. Once the assignment is accepted, review the file structure and notice the "doctest.h" file. Download the Coins.csv file and place it in your project folder. Note: The folder "TestData" is not used for this assignment. Code the program according to the following requirements: Modify the README.md file so that it: Contains a status badge . Contains a meaningful description of the project. In the source file (CPP), create a class that contains: 3 public member functions: A function to open the file and store the file object or data. The function should return true on success and false on failure. Commit with message of your choice. A function to read the data from the CSV file and place the data in an array of structures. The function should return the count of structures in the internal array. Commit with message of your choice. A function to count the number of coins whose symbol begins with a particular letter. The function should return the count of coins found. Commit with message of your choice. Member variables: a structure definition containing the attributes of the crypto coin (use the Coins.csv file to determine this). an array of crypto coin structures that gets filled with the data from the file. A doctest e testcase that replaces "main()' and tests the results of each to the functions. As an example: . TEST_CASE("Testing the crypto coins class") { Cryptos cryptos; CHECK (cryptos. OpenFile("coins.csv") -- true); CHECK(cryptos. ParseCurrencies(== COIN_COUNT); CHECK(cryptos. CountCoins StartingWithLetter('a') != 5); CHECK(cryptos.CountCoinsStartingwithLetter('a') == 6); CHECK (cryptos. CountCoins StartingWithLetter('a') 1-7); Run all local tests and fix any errors/bug until your program passes all tests. Commit these changes with the message: "Updated README page with badge and description" Push all changes to your remote GitHub repo. Validate that the build badge indicates success
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
