All pastes #571943 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-17 12:28 UTC
rendered paste body
#include<stdio.h>
#include<string.h>


int main()
{

struct ly
{
char eng[10];
} g[100];
int i,j,intN;

printf("\n\t n= "); scanf("%d",&intN);

for(i=1;i<=intN;++i)
	{
		printf("%d : ",i);
		fflush(stdin);
		gets(g[i].eng);
		printf("\ntest");
	}

for(i=1;i<=intN;++i)
	{
		printf("\n\t %d %-10s",i,g[i].eng);
	}
return 0;
}