write program in C# for palindrome? (aug 2009)
write program in C3 for generating below output?(aug 2009)
#
# #
# # #
# # # #
Answer Posted / kanan
int k = 3;
for (int i = 1; i <= 4; i++)
{
for (int j = k; j > 0; j--)
{
Response.Write(" ");
}
for (int x = 0; x < i; x++)
{
Response.Write("#");
Response.Write(" ");
}
k--;
Response.Write("<br/>");
Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Is versioning applicable to private assemblies?
What is func c#?
What is an interface class in c#?
What are different types of classes in c#?
Is c# slower than java?
What is the meaning of extention?
How do I create multifile assembly?
Is static class thread safe in c#?
What is the delegate in c#?
Can a constructor be static in c#?
Can main method be final?
What is namespace in oop?
What are the types of attributes in c#?
What is wcf c#?
Which framework is best for desktop application?