JustAnswer
>
Programming
Ask A Question
|
Register
|
Login
|
Help
Programming
Ask a Programming Question, Get an Answer ASAP!
Have your own Programming question?
9 Programmers are Online Now
characters left:
Not a Programming Question?
Related Programming Topics:
Two
,
Code
,
File
,
Pass
,
Time
,
User
,
Click
,
Files
,
Parts
,
Print
Question
Using C programming and Microsoft Visual C++ 2008 Express Edition, I need to write a program that creates a structure template with two members according to the following criteria:
a. The first member is a social security #. The second member is a structure with three members - the first member contains a first name, the second member a middle name, the third member a last name. Create and initialize an array of five such structures. Have the program print the data in this format: Pardoe, Darin J. - - XXXXXXXXX
Only the initial letter of the middle name is printed, and a period is added. Neither the initial nor the period should be printed if the middle name member is empty. Write a function to do the printing; pass the structure array to the function.
b. Modify part "a" by passing the structure value instead of the address.
Here are the structures:
XXXXXXXXX Darin Jon Pardoe
XXXXXXXXX Tom Al Cutlip
XXXXXXXXX Lyle Ed Wirth
XXXXXXXXX Brenda Sue Mart
XXXXXXXXX Joe Bob Coe
Submitted: 98 days ago.
Category: Programming
Value: $45
Status: CLOSED
+
Read More
Optional Information
Computer OS: Windows Vista
Browser: IE
Already Tried:
struct first
{
double ssn
struct name
{
char first
char middle
char last
}
}
Posted by
Raj
97 days and 23 hours ago.
Info Request
When do you need the code??
97 days and 23 hours ago.
Reply
Tomorrow evening.
Posted by
Raj
97 days and 21 hours ago.
Info Request
Ok
I will try my best to finish it before the the specified time
But if possible can you specify your time zone??
97 days and 14 hours ago.
Reply
Central time zone.
Posted by
Raj
97 days and 8 hours ago.
Info Request
Update:
I am done with Part
A
and am currently working on Part
B
Accepted Answer
OK
I am done with Both The Parts of the Question
Please download the files from the lik below using "
FREE USER
" option:
For
Part A
Code:
Click here
For
Part B
Code:
Click here
Only change in the code you will observe is that the argument in
Part A
was passed as
reference
(using address) but in
Part B
its value is passed in other
variable
(Which was asked in Question to be done)
If You face any problem then you can Ask
and also inform me when you have downloaded the file so that i can delete it from the server................
Expert:
Raj
Pos. Feedback:
100.0 %
Accepts:
Answered:
8/17/2009
Computer Software Engineer
BE Computers
96 days and 10 hours ago.
Reply
I am currently mobile so have not had time to answer. I have downloaded the problems now so thank you!
Posted by
Raj
96 days and 10 hours ago.
Info Request
Ok
I have deleted the file............
+
Read More
Related Programming Questions
Excel 2007 - I have a workbook containing multiple works...
i need to take raw excel data and create a custom report usi...
I want a access statement "query" to remove data from a flat
Hi Rob, When I plug in my IPod to my tower, it is not syn...
Part 1: Implement the Java code for the online eFax subsc...
I had a assignment in which I had to use both one dimensiona...
Raj, C++: Implement a generic Map that supports the insert
Could someone please help me with my plugins on my wp_blog