Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: Write a computer program that stores and tracks information about US voters. There are four pieces of information that will need to be captured

image text in transcribed
image text in transcribed
Instructions: Write a computer program that stores and tracks information about US voters. There are four pieces of information that will need to be captured for the voters - Their Name, State they live in, their Income and their Age. For example, John Smith for name, Virginia as the state, 55000.56 as the income and 45 as their age. For the income do not use '5' sign nor ',' (comma), but rather show the income to the second decimal point. Additional income examples are - 123000.00, 145789.45 or 34566.77. The goal of this assignment is to write a program that creates four separate variables and stores some values in them as shown in the example above. Use the appropriate variable types of either integer or string for the variables. Once you run your code, there should not be any information displayed on the screen as the print command is not being used at this point, but the code should run without any errors. You will need to submit the code in the assignment submission link in order to confirm successful run

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Statistics For Engineers And Scientists

Authors: William Navidi

3rd Edition

73376345, 978-0077417581, 77417585, 73376337, 978-0073376332

Students also viewed these Economics questions

Question

Describe the difference between majority and minority carriers.

Answered: 1 week ago