The code........THANKS SALEM
[Code]
#include <stdio.h>
#include <string.h>
#define size 50
int main()
{
char staffname[size][20];
int staffnumber[size];
int count = 0;
Type: Posts; User: despoil
The code........THANKS SALEM
[Code]
#include <stdio.h>
#include <string.h>
#define size 50
int main()
{
char staffname[size][20];
int staffnumber[size];
int count = 0;
This is the code
#include <stdio.h>
#define size 50
int main()
{
char staffname[size][20];
int staffnumber[size];
int count = 0;
Ok this is what my code looks like so far for now
#include <stdio.h>
struct staff {
char *staffname;
int staffnumber;
};
Ok here is an example of what I'm trying to do
#include <stdio.h>
{
char * details[0][0];
printf("Enter staffname and staffnumber\n");
scanf("%s%d",...
I'm a newbie to c...i'm having problem with an assignment question.
The question requires a program to read in staff details from keyboard. The details are staffname and staffnumber.
Once the...