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 to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

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

Cambridge International AS And A Level Economics Coursebook

Authors: Colin Bamford, Susan Grant

3rd Edition

1107679516, 978-1107679511

More Books

Students also viewed these Economics questions

Question

Describe the difference between majority and minority carriers.

Answered: 1 week ago

Question

Rationalize the denominators in Problem. 12mn V3mn

Answered: 1 week ago