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

Define property in c#.net?

517


What is lazy loading entity framework?

495


Differentiate between the public and private ?

561


Why array is faster than arraylist in c#?

489


What does executescalar return in c#?

454






Explain what are the steps for creating clr trigger?

465


What is alias in c#?

534


How to implement an object pool in c#.net.

547


How to use the sreamReader class to read form a text file?

550


What is an assembly in dotnet?

544


What is a strong name in c#?

809


Why we need get set property in c#?

538


What is a lambda expression in c#?

505


What is the do while loop code?

489


How do I convert a string to an int in c#?

516