nagraj


{ City } hubli
< Country > india
* Profession * student
User No # 48237
Total Questions Posted # 0
Total Answers Posted # 1

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

Users Marked my Answers as Correct # 8
Users Marked my Answers as Wrong # 8
Questions / { nagraj }
Questions Answers Category Views Company eMail




Answers / { nagraj }

Question { Microsoft, 22053 }

Write a program to print a square of size 5 by using the
character S.


Answer

main()
{
for(int i=0;i<5;i++)
{
printf("\n");
if(i==0||i==4)
{
for(int j=0;j<5;j++)
printf("S");
}
else
printf("S S");
}

Is This Answer Correct ?    8 Yes 8 No