Question: The Coins.csv file is on the right For this assignment you will create a small program that reads a file containing different crypto currencies. The

The Coins.csv file is on the right The Coins.csv file is on the right For this assignment you will

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 et repo from our GitHub Classroom as a starting point. RANK, NAME, SYMBOL, MARKET_CAP 1, Bitcoin, BTC, 941293987905 2, Ethereum, ETH,480499261456 Once the assignment is accepted, review the file structure and notice the "doctest.hu" file. 3, Binance Coin, BNB,90321378765 4, Tether, USDT, 77995414354 Download the Coins.csv file and place it in your project folder. Note: The folder "TestData" is not used for this 5, Solana, SOL, 60714624681 6, Cardano, ADA, 47874422394 assignment. 7,XRP, XRP,43429992054 8, USD Coin, USDC, 42413911050 Code the program according to the following requirements: 9, Terra, LUNA, 36161644767 10, Polkadot, DOT, 28996868267 11, Avalanche, AVAX, 27391380220 Modify the README.md file so that it: 12, Dogecoin, DOGE,24911176821 13, SHIBA INU, SHIB,20629267609 o Contains a status badge 14, Polygon, MATIC, 20038843713 o Contains a meaningful description of the project. 15, Crypto.com Coin, CRO, 15595499401 16, Binance USD,BUSD,14623357601 In the source file (CPP), create a class that contains: 17, Wrapped Bitcoin, WBTC, 12978947639 . 3 public member functions: 18, Uniswap, UNI, 10773625619 19, Litecoin, LTC, 10680105960 . A function to open the file and store the file object or data. The function should return true on success and 20, Chainlink, LINK, 10387959059 21, Algorand, ALGO, 10198650050 false on failure. Commit with message of your choice. 22, TerraUSD, UST,9936088326 . A function to read the data from the CSV file and place the data in an array of structures. The function should 24,NEAR Protocol, NEAR, 9224775815 23,Dai, DAI,9355729313 return the count of structures in the internal array. Commit with message of your choice. 25, Bitcoin Cash, BCH, 8510108291 26, TRON, TRX,8183610666 A function to count the number of coins whose symbol begins with a particular letter. The function should 27,Stellar,XLM, 7060195140 28, Cosmos, ATOM, 7059190458 return the count of coins found. Commit with message of your choice. 29, Decentraland, MANA, 6734961717 Member variables: 30, Axie Infinity, AXS, 6479379022 31, The Sandbox, SAND, 6096469232 . a structure definition containing the attributes of the crypto coin (use the Coins.csv file to determine this). 32, VeChain, VET, 6063383125 33, FTX Token, FTT, 5869138450 an array of crypto coin structures that gets filled with the data from the file. 34, Hedera, HBAR, 5730969936 A docteste testcase that replaces "main()" and tests the results of each to the functions. As an example: 35, Fantom, FTM, 5721015142 36, THETA, THETA, 5244666867 37, Bitcoin BEP2,BTCB, 5238275955 TEST_CASE("Testing the crypto coins class") 38, Filecoin, FIL,5115221984 39, Internet Computer, ICP,4994016853 { 40, Elrond, EGLD, 4977622135 Cryptos cryptos; 41, Ethereum Classic, ETC, 4919251508 CHECK(cryptos. OpenFile("coins.csv") == true); 42, Tezos, XTZ,4241363680 CHECK(cryptos.ParseCurrencies() == COIN_COUNT); 43, Helium, HNT, 3930841062 CHECK(cryptos. CountCoins StartingWithLetter('a') != 5); 44, IOTA, MIOTA, 3741985766 CHECK(cryptos.Count Coins StartingWithLetter('a') == 6); 45, Monero, XMR, 3740084326 CHECK(cryptos.CountCoins StartingWithLetter('a') != 7); 46, Aave, AAVE, 3582882559 } 47, Gala, GALA, 3430671821 48, The Graph, GRT, 3419734846 Run all local tests and fix any errors/bug until your program passes all tests. 49,Klaytn, KLAY, 3390932618 50, UNUS SED LEO, LEO, 3363659138 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 et repo from our GitHub Classroom as a starting point. RANK, NAME, SYMBOL, MARKET_CAP 1, Bitcoin, BTC, 941293987905 2, Ethereum, ETH,480499261456 Once the assignment is accepted, review the file structure and notice the "doctest.hu" file. 3, Binance Coin, BNB,90321378765 4, Tether, USDT, 77995414354 Download the Coins.csv file and place it in your project folder. Note: The folder "TestData" is not used for this 5, Solana, SOL, 60714624681 6, Cardano, ADA, 47874422394 assignment. 7,XRP, XRP,43429992054 8, USD Coin, USDC, 42413911050 Code the program according to the following requirements: 9, Terra, LUNA, 36161644767 10, Polkadot, DOT, 28996868267 11, Avalanche, AVAX, 27391380220 Modify the README.md file so that it: 12, Dogecoin, DOGE,24911176821 13, SHIBA INU, SHIB,20629267609 o Contains a status badge 14, Polygon, MATIC, 20038843713 o Contains a meaningful description of the project. 15, Crypto.com Coin, CRO, 15595499401 16, Binance USD,BUSD,14623357601 In the source file (CPP), create a class that contains: 17, Wrapped Bitcoin, WBTC, 12978947639 . 3 public member functions: 18, Uniswap, UNI, 10773625619 19, Litecoin, LTC, 10680105960 . A function to open the file and store the file object or data. The function should return true on success and 20, Chainlink, LINK, 10387959059 21, Algorand, ALGO, 10198650050 false on failure. Commit with message of your choice. 22, TerraUSD, UST,9936088326 . A function to read the data from the CSV file and place the data in an array of structures. The function should 24,NEAR Protocol, NEAR, 9224775815 23,Dai, DAI,9355729313 return the count of structures in the internal array. Commit with message of your choice. 25, Bitcoin Cash, BCH, 8510108291 26, TRON, TRX,8183610666 A function to count the number of coins whose symbol begins with a particular letter. The function should 27,Stellar,XLM, 7060195140 28, Cosmos, ATOM, 7059190458 return the count of coins found. Commit with message of your choice. 29, Decentraland, MANA, 6734961717 Member variables: 30, Axie Infinity, AXS, 6479379022 31, The Sandbox, SAND, 6096469232 . a structure definition containing the attributes of the crypto coin (use the Coins.csv file to determine this). 32, VeChain, VET, 6063383125 33, FTX Token, FTT, 5869138450 an array of crypto coin structures that gets filled with the data from the file. 34, Hedera, HBAR, 5730969936 A docteste testcase that replaces "main()" and tests the results of each to the functions. As an example: 35, Fantom, FTM, 5721015142 36, THETA, THETA, 5244666867 37, Bitcoin BEP2,BTCB, 5238275955 TEST_CASE("Testing the crypto coins class") 38, Filecoin, FIL,5115221984 39, Internet Computer, ICP,4994016853 { 40, Elrond, EGLD, 4977622135 Cryptos cryptos; 41, Ethereum Classic, ETC, 4919251508 CHECK(cryptos. OpenFile("coins.csv") == true); 42, Tezos, XTZ,4241363680 CHECK(cryptos.ParseCurrencies() == COIN_COUNT); 43, Helium, HNT, 3930841062 CHECK(cryptos. CountCoins StartingWithLetter('a') != 5); 44, IOTA, MIOTA, 3741985766 CHECK(cryptos.Count Coins StartingWithLetter('a') == 6); 45, Monero, XMR, 3740084326 CHECK(cryptos.CountCoins StartingWithLetter('a') != 7); 46, Aave, AAVE, 3582882559 } 47, Gala, GALA, 3430671821 48, The Graph, GRT, 3419734846 Run all local tests and fix any errors/bug until your program passes all tests. 49,Klaytn, KLAY, 3390932618 50, UNUS SED LEO, LEO, 3363659138 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

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!