Click here to Skip to main content
15,664,823 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
You have been contracted to develop a payroll system for Jitahidi Works. The following
information is kept for each of employee in the organization
i) Employee number(They represent it like Kenyan National ID number)
ii) Employee name(first and last names)
iii) Phonenumber( represented as xxx-xxx-xxxxxx)
iv) Age
i) Declare a struct to hold the information of the employee. [2 marks]
ii) Create an employee instance with employee number as 231452441 name as
Angela Musyoki, phone number as 254-020-231245 and age as 35.

What I have tried:

yes i have tried the question and can't find a way to complete it keep on getting errors each time i do it.
Updated 20-Nov-22 21:34pm
Richard MacCutchan 20-Nov-22 8:26am    
"keep on getting errors"
We cannot guess what you have done or what errors you get. So please use the Improve question link above, and add complete details of what is not working to the question. We can then take a look and maybe help you to fix it.

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did. Show us the code that generates the errors, and tell us what errors it gave you.

Just saying "i have tried the question and can't find a way to complete" isn't going to get you anywhere near a code you can hand in!

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
Share this answer
Very easy - try with starting some Learn C tutorial or some video tutorial.

some tips: use functions and structs with understandable names and install some IDE like Visual Studio..
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900