adspace


Using system;
class main
{
public static void Main()
{
int a = 1;
for (int i = 0; i < 10; i++)
{
int j = a * 5;
Console.WriteLine(a + "*5=" + j);
a++;
}
Console.ReadLine();
}
}

Answer Posted / suresh kumar patra

1*5=5
2*5=10
3*5=15
4*5=20
5*5=25
6*5=30
7*5=35
8*5=40
9*5=45
10*5=50

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign Null value to Var?

1063


What is expression tree in c#?

998


Which namespaces are necessary to create a localized application?

1142


How do you inherit a class into other class in c#?

993


What is an abstract class c#?

969


Why can't we use a static class instead of singleton?

954