Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

VB question. At Jackson High School, this year, three students are running for senior class president: Tyler Tompkins, Kate Gonzo, and John Chang. Create an

VB question. At Jackson High School, this year, three students are running for senior class president: Tyler Tompkins, Kate Gonzo, and John Chang. Create an application that keeps track of the voting. Save the voting information in a sequential access file that contains one line with the candidate number for each vote. The application should display the number of votes per candidate. Use the following names for the solution and project, respectively: Jackson Solution and Jackson Project. Name your vote data file votes.txt. Change the form files name to Main Form.vb. You can either create your own interface or create the one in shown in figure 11-49. Test your application. For your final submission, delete the votes.txt file. Then run your program and vote for, in order, John three times, Kate two times, and Tyler once. Click the Exit button. Launch your program again and click the Display button - you should see the correct number of votes for each candidate.

This needs to be in VB. To the best of my knowledge, the user should select the candidate from the list and select vote to to enter a vote, and the votes.txt should store the votes. The show votes should display the contents of the votes.txt file. Databases not allowed.

image text in transcribed

Jackson High School 1 Candidate: Save Vote candidateListBox Display Votes Exit Tyler Tomkins: Kate Gonzo: John Chang

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

Students also viewed these Databases questions