All pastes #571960 Raw Edit

Untitled

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


int main()
{

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

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

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

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