Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is a C++ problem #include #include #include using namespace std; // This program demonstrates partially initialized structure variables // PLACE YOUR NAME HERE struct
This is a C++ problem
#include#include #include using namespace std; // This program demonstrates partially initialized structure variables // PLACE YOUR NAME HERE struct taxPayer { string name; long socialSecNum; float taxRate; float income; float taxes; }; int main() { // Fill in code to initialize a structure variable named citizen1 so that // the first three members are initialized. Assume the name is Tim // McGuiness, the social security number is 255871234, and the tax rate is .35 // Fill in code to initialize a structure variable named citizen2 so that // the first three members are initialized. Assume the name is John Kane, // the social security number is 278990582, and the tax rate is .29 cout Esnin I: il in the code as indicated by the comments in bokd Sample Run: Please input the yearly income for Tim McGuiness: 30000 Name: Tim McGuiness Social Security Number: 255871234 Taxes due for this year: $10500.00 Please input the yearly income for John Kane: 60000 Name: John Kane Social Security Number: 278990582 Taxes due for this year: $17400.00
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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