Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock

