The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 364 Weeks Ago, 3 Days Ago |
| Questions Answered: | 1850 |
| Tutorials Posted: | 1850 |
Graduate in Biology and Nutrition, MBA Finance
Florida State University
Aug-2000 - Jul-2007
Ass. Relationship Manager
Penn-Florida
Mar-2009 - Feb-2016
Give the C code that uses a switch statement inside a loop. The loop allows the user to input vowels (a, e, i, o, u), and special characters (#, %, $, ^, &). The switch statement keeps track of the number of occurrences of each of the characters. Each iteration through the loop, the number of occurrences of each letter is printed, provided the user has entered the character at least once (i.e. the output should not list a character if the user has not entered it at all). So, the output might look something like this after 6 times through the loop: (6 points)
a: 1
$: 2
o: 1
u: 2
enter the next letter or type * to quit:
Provide the entire c program
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I