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
List some of the classes used by system.data namespace?
Is equal in c#?
Can interface inherit class in c#?
what is the meaning of Object lifetime in OOPS
What is difference between new and override in c#?
What is uint64_t?
What is #region in c#?
Who benefits from ajax?
Why do we need interface in c#?
What is data binding with example?
What is the use of console readline () in c#?
What is an Interface in C#?
Explain how do I convert a string to an int in c#?
What is an array? Give the syntax for a single and multi-dimensional array?
What is asynccallback c#?