ramesh


{ City } salem
< Country > india
* Profession * student
User No # 73462
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 12
Questions / { ramesh }
Questions Answers Category Views Company eMail




Answers / { ramesh }

Question { Wipro, 16427 }

How to print India by nested loop?
I
IN
IND
INDI
INDIA


Answer

#include
#include
#include
void main()
{
char name[20];
int a;

clrscr();
printf("enter the INDIA name");
scanf("%c",&name);
a=strlen(name);
for(int i=0;i<=a;i++)
{
for(int j=0;j<=i;j++)
{
printf("%c",name[i]);
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    1 Yes 12 No

Question { IBM, 8364 }

wat is the meaning of c?


Answer

c is a operating system programming language.
it is know about the system configuration of execute program
and control it.

Is This Answer Correct ?    1 Yes 0 No