Microsoft Word - 211_Lab_05_v2.docx Lab #5 The purpose of this lab is to give you some practice reading from a text file and using c-style strings. Finding the word with the most consecutive vowels...

I can't how to print out what the word is with the most consecutive vowels.


Microsoft Word - 211_Lab_05_v2.docx Lab #5 The purpose of this lab is to give you some practice reading from a text file and using c-style strings. Finding the word with the most consecutive vowels Can you think of a word in English that has the most consecutive vowels? For example, the word "zombies" has two consecutive vowels with "ie" while the word "abstemious" has three consecutive vowels. This is a pretty challenging puzzle for a human but it can be solved pretty quickly by a computer. Write a program that reads this file, bigwords.txt or on Windows use bigwords-windows.txt, which contains 87314 English words. The longest word is 13 letters (abbreviations). Your solution should:  Use C-strings (array of char) to read each word, not the STL string class. You may need to include . You can get the length of a C-string using the strlen(s) function.  The easiest way to write this program is to break it up into the following parts and test each part independently before moving on to the next part: 1. In main(), open the file and read every word from the file into a C- string 2. A function that takes a char as input and returns true if it is a vowel, false otherwise 3. A function that takes a c-string as input and returns the number of consecutive vowels in the word.  You can do this by looping through each character in the c-string. As long as the current character is a vowel, increment a vowelCounter variable and remember the longest value for vowelCounter. If the current character is a non-vowel, reset vowelCounter back to 0. 4. Modify main to use your function on each word, remember the one with the most consecutive vowels, and output it after the last word has been read from the file Show your working code and what the word is with the most consecutive vowels! aalii aardvark aardvarks aardwolf aba abaca abaci abacist aback abacus abacuses abaft abalone abalones abamp abampere abandon abandoned abandonee abandoner abandoners abandoning abandonment abandons abase abased abasement abaser abasers abases abash abashed abashedly abashes abashing abashment abashments abasia abasing abatable abatage abate abated abatement abatements abater abaters abates abating abatis abatises abator abattage abattoir abattoirs abaxial abb abba abbacies abbacy abbatial abbe abbes abbess abbesses abbey abbeys abbeystead abbot abbotcies abbotcy abbots abbotship abbotships abbreviate abbreviates abbreviated abbreviating abbreviation abbreviations abbreviator abc abdicable abdicate abdicated abdicates abdicating abdication abdicator abdomen abdomens abdominal abduct abducted abducting abduction abductions abductor abductors abducts abeam abed aberdeen aberrance aberrancy aberrant aberrantly aberrants aberration abet abetment abets abettal abettals abetted abetter abetters abetting abettor abettors abeyance abeyances abeyancies abeyancy abeyant abhor abhorred abhorrence abhorrent abhorrer abhorrers abhorring abhors abidance abide abided abider abiders abides abiding abidingly abigail abilene abilities ability abiotic abject abjection abjectly abjectness abjuration abjuratory abjure abjured abjurer abjurers abjures abjuring ablate ablated ablates ablating ablation ablations ablatival ablative ablatively ablatives ablaze able ableness abler ables ablest ablings abloom ablush abluted ablution ablutions ably abnegate abnegated abnegates abnegating abnegation abnegator abnegators abner abnormal abnormally abnormals abo aboard abode aboded abodes aboding aboil abolish abolished abolisher abolishers abolishes abolishing abolition abominable abominably abominate abominated abominates abominator aboral aboriginal aborigine aborigines aborning abort aborted aborter aborters aborting abortion abortional abortions abortive abortively aborts abound abounded abounding abounds about above aboveboard aboves abradant abradants abrade abraded abrader abraders abrades abrading abraham abrasion abrasions abrasive abrasively abrasives abreact abreacted abreacting abreaction abreacts abreast abridge abridged abridger abridgers abridges abridging abridgment abroad abrogate abrogated abrogates abrogating abrogation abrogative abrogator abrogators abrupt abrupter abruptest abruptly abruptness abs abscam abscess abscessed abscesses abscessing abscise abscised abscises abscising abscissa abscissae abscissas abscission abscond absconded absconder absconders absconding absconds absence absences absent absented absentee absentees absenter absenters absentia absenting absently absents absinth absinthe absinthes absinths absolute absolutely absoluter absolutes absolutest absolution absolutism absolutist absolvable absolve absolved absolver absolvers absolves absolving absorb absorbable absorbed absorbency absorbent absorbents absorber absorbers absorbing absorbs absorption absorptive abstain abstained abstainer abstainers abstaining abstains abstemious abstention abstinence abstinent abstract abstracted abstracter abstractly abstractor abstracts abstricts abstruse abstrusely abstruser abstrusest absurd absurder absurdest absurdity absurdly absurdness absurds absurdum abt abubble abundance abundances abundant abundantly abusable abusage abuse abused abuser abusers abuses abusing abusive abusively abut abutment abutments abuts abuttal abuttals abutted abutter abutters abutting abuzz abyes abysm abysmal abysmally abysms abyss abyssal abysses abyssinia abyssinian acacia acacias academe academes academia academias academic academical academics academies academy acadia acanthi acanthus acanthuses acapulco accede acceded accedence acceder acceders accedes acceding accelerant accelerate accent accented accenting accents accentual accentuate accept acceptable acceptably acceptance acceptant accepted acceptedly acceptee acceptees accepter accepters accepting acceptive acceptor accepts access accessed accesses accessible accessibly accessing accession accessions accessors accessory accidence accident accidental accidents accidie accidies acclaim acclaimed acclaimer acclaimers acclaiming acclaims acclimate acclimated acclimates acclivity accolade accolades accompany accompli accomplice accomplis accomplish accord accordable accordance accordant accorded accorder accorders according accordion accordions accords accost accostable accosted accosting accosts account accountant accounted accounter accounters accounting accounts accouter accoutered accouters accoutred accoutres accoutring accredit accredited accreditee accredits accrete accreted accretes accreting accretion accretions accruable accrual accruals accrue accrued accruement accrues accruing acct accts accumulate accuracies accuracy accurate accurately accurse accursed accursedly accurst accusable accusal accusals accusant accusation accusative accusatory accusatrix accuse accused accuser accusers accuses accusing accusingly accusive accusor accustom accustomed accustoms ace aced acerb acerbate acerbated acerbates acerbating acerber acerbest acerbic acerbities acerbity acerola acerose acerous aces acetate acetates acetic acetified acetifies acetify acetifying acetone acetones acetonic acetylene ache ached achene achenes achenial aches achier achiest achievable achieve achieved achiever achievers achieves achieving achilles achiness aching achingly achoo achordate achromat achromatic achromats achy acid acidhead acidheads acidic acidified acidifier acidifiers acidifies acidify acidifying acidities acidity acidly acidness acidoses acidosis acidotic acids acidulate acidulated acidulates acidulous acidy acing aclu acme acmes acne acned acnes acoin acolyte acolytes aconite aconites acorn acorns acoustic acoustical acoustics acquaint acquainted acquaints acquiesce acquiesced acquiesces acquirable acquire acquired acquirer acquirers acquires acquiring acquit acquits acquittal acquittals acquitted acquitter acquitting acre acreage acreages acred acres acrid acrider acridest acridities acridity acridly acridness acrimonies acrimony acrobat acrobatic acrobatics acrobats acroliths acromegaly acronym acronyms acrophobia acropolis across acrostic acrostics acrylate acrylic acrylics act actable acted actin acting actings actinic actinide actinides actinism actinium actiniums action actionable actions activate activated activates activating activation activator activators active actively activeness actives activism activisms activist activistic activists activities activity actomyosin actor actorish actors actress actresses acts actual actuality actualize actualized actualizes actually actuarial actuaries actuary actuate actuated actuates actuating actuation actuator actuators acuities acuity acumen acumens acute acutely acuteness acuter acutes acutest adage adages adagial adagio adagios adam adamance adamances adamancies adamancy adamant adamantine adamantly adamants adams adapt adaptable adaptation adapted adapter adapters adapting adaption adaptions adaptive adaptively adaptor adaptors adapts add addable addax added addedly addend addenda addends addendum adder adders addible addict addicted addicting addiction addictions addictive addictives addicts adding addison addition additional additions additive additives addle addled addles addling address addressed addressee addressees addresser addressers addresses addressing addrest adds adduce adduceable adduced adducers adduces adducing adduct adducted adducting adduction adductor adductors adenine adenoid adenoidal adenoidism adenoids adenose adenosine adept adepter adeptest adeptly adeptness adepts adequacies adequacy adequate adequately adequation adeste adhere adhered adherence adherent adherents adherer adherers adheres adhering adhesion adhesional adhesions adhesive adhesively adhesives adiabatic adieu adieus adieux adios adipose adiposis adiposity adit adits adj adjacency adjacent adjacently adjectival adjective adjectives adjoin adjoined adjoining adjoins adjoint adjoints adjourn adjourned adjourning adjourns adjudge adjudged adjudges adjudging adjudicate adjunct adjunctive adjunctly adjuncts adjuration adjuratory adjure adjured adjurer adjurers adjures adjuring adjuror adjurors adjust adjustable adjusted adjuster adjusters adjusting adjustment adjustor adjustors adjusts adjutancy adjutant adjutants adman admen admin administer admirable admirably admiral admirals admiralty admiration admire admired admirer admirers admires admiring admiringly admissable admissible admissibly admission admissions admissive admit admits admittance admitted admittedly admitter admitters admitting admix admixed admixes admixing admixt admixture admixtures admonish admonished admonisher admonishes admonition admonitory ado adobe adobes adolescent adolf adolph adonis adopt adoptable adopted adoptee adoptees adopter adopters adopting adoption adoptions adoptive adoptively adopts adorable adorably adoration adore adored adorer adorers adores adoring adorn adorned adorner adorners adorning adornment adornments adorns ados adoze adrenal adrenalin adrenaline adrenals adriatic adrift adroit adroiter adroitest adroitly adroitness ads adsorb adsorbable adsorbate adsorbates adsorbed adsorbent adsorbents adsorbing adsorbs adsorption adsorptive adulate adulated adulates adulating adulation adulator adulators adulatory adult adulterant adulterate adulterer adulterers adulteress adulteries adulterous adultery adulthood adultly adultness adults adumbrate adumbrated adumbrates adv advance advanced advancer advancers advances advancing advantage advantaged advantages advent advents adventure adventured adventurer adventures adverb adverbial adverbs adversary adverse adversely adversity advert adverted advertent adverting advertise advertised advertiser advertises advertize advertized advertizer advertizes adverts advice advices advisable advisatory advise advised advisedly advisee advisees advisement adviser advisers advises advising advisor advisories advisors advisory advocacies advocacy advocate advocated advocates advocating advocator advocatory advt adyta adytum adz adzes aegis aegises aeolian aeon aeonian aeonic aeons aerate aerated aerates aerating aeration aerations aerator aerators aerial aerialist aerialists aerially aerials aerie aeried aerier aeries aeriest aerified aerifies aeriform aerify aerifying aerily aerobatics aerobe aerobes aerobia aerobic aerobics aerodrome aerodromes aerodyne aerofoil aerofoils aerogels aerogram aerograms aerolite aerolites aerolith aeroliths aerologist aerology aerometer aeronaut aeronautic aeronauts aerophobia aeroplane aerosol aerosolize aerosols aerospace aerostat aery aeschylus aesop aesopian aesthesia aesthete aesthetes aesthetic aesthetics aestivate aestivated aestivates aether aetheric aethers afar afars afb afeard afeared affability affable affably affair affaire affaires affairs affect affected affectedly affecter affecters affecting affection affections affective affects afferent afferently affiance affianced affiances affiancing affiant affidavit affidavits affiliate affiliated affiliates affinities affinity affirm affirmable affirmably affirmance affirmed affirmer affirmers affirming affirms affix affixal affixation affixed affixer affixers affixes affixing affixion afflatus afflict afflicted afflicting affliction afflictive afflicts affluence affluent affluently affluents afflux affluxes afford affordable afforded affording affords afforest afforested afforests affray affrayed affrayer affrayers affraying affrays affright affrighted affrights affront affronted affronting affronts affusions afghan afghani afghanis afghans aficionado afield afire aflame aflatoxin afloat aflutter afoot afore aforesaid afoul afraid afreet afreets afresh africa african africans afrikaans afrit afrits afro afros aft after afterbirth aftercare afterdeck afterdecks afterglow afterglows afterimage afterlife afterlives aftermath aftermaths aftermost afternoon afternoons afters aftershave aftertaste afterward afterwards aftmost again against agama agamas agamic agapae agape agapeic agar agarics agars agate agates agatize agave agaves agaze age aged agedly agedness ageing ageings ageism ageist ageists ageless agelessly agelong agencies agency agenda agendas agendum agendums agent agentry agents ageratum ageratums agers ages aggie aggies agglutinin aggrandize aggravate aggravated aggravates aggregate aggregated aggregates aggress aggressed aggresses aggressing aggression aggressive aggressor aggressors aggrieve aggrieved aggrieves aggrieving agha aghas aghast agile agilely agileness agilities agility agin aging agings agist agists agitable agitate agitated agitatedly agitates agitating agitation agitations agitato agitator agitators agitprop agitprops aglare agleam aglee aglet aglets agley aglimmer aglitter aglow agnizing agnostic agnostics ago agog agonal agone agonic agonies agonise agonised agonises agonist agonistic agonists agonize agonized agonizes agonizing agons agony agora agorae agoras agouti agouties agouty agrarian agrarians agree agreeable agreeably agreed agreeing agreement agreements agrees agric agrimony agrology agronomic agronomies agronomist agronomy aground ague agues agueweed aguishly aha ahchoo ahead ahem ahems ahimsa ahimsas ahold ahorse ahoy ahs aid aide aided aider aiders aides aidful aiding aidless aidman aidmen aids aiglets aigrets aigrette aigrettes aikido aikidos ail ailanthus ailed aileron ailerons ailing ailment ailments ails aim aimed aimer aimers aimful aimfully aiming aimless aimlessly aims ainus air airbill airbills airboat airboats airborne airbrush airbrushed airbrushes airbursts airbus airbusses aircraft aircrew airdrome airdromes airdrop airdropped airdrops aired airedale airedales airer airest airfare airfares airfield airfields airflow airflows airfoil airfoils airframe airframes airfreight airglow airhead airheads airier airiest airily airiness airing airings airless airlessly airlift airlifted airlifting airlifts airlike airline airliner airliners airlines airlock airmail airmailed airmailing airmails airman airmanship airmen airmobile
Sep 28, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here