COM 150 – Introduction to Computer Programming.

Added on - 16 Sep 2019

  • Dissertation

    type

  • 1

    pages

  • 290

    words

  • 43

    views

  • 0

    downloads

Showing pages 1 to 1 of 1 pages
COM 150 – Introduction to Computer ProgrammingPROJECT #5DUE: Wednesday, November 30, 2016Program name will bePROJ5___where the underscore represents your initials.Uncle Thaddeus, (who has lots of money and too much time) has decided to run forMayor. His two opponents are very famous personalities (you decide). Based on thedisaster with counting votes from the 2000 Presidential race, Uncle Thaddeus has askedyou to create a Visual Basic program to fairly and properly count the votes.Vote for One Candidate:A.Candidate AB.Candidate BC.Uncle ThaddeusD.Exit and Show TotalsUse aButtonwithTextVOTEthat when clicked will have anInputBoxappear to enteryour vote.Display aMessageBoxif an input is not “A,” “B,” “C,” or “D.”After exiting the loop, output the totals for each candidate and determine who won.Assume there are no ties in this election. Display a picture of the winner!**For full credit:1.Be creative.a.Follow guidelines from section 3.9 of your textbook.2.Include anEXITbutton.3.Use commentsa.Your nameb.Description of the programc.Input, output, and process4.Copy and paste your code into a MS Word document and submit viaCanvas.5.In addition to submitting your code to Canvas,print outand submit a hard copyof your code.6.Youdo notneed to hand in an algorithm.
desklib-logo
You’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Unlock This Document