Answered step by step
Verified Expert Solution
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
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
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started