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 would you describe encapsulation in c#?

570


What is the difference between a field and a property in c#?

568


What is datarelation c#?

555


What is type safe code?

552


Do loops in c#?

573






What is type checking in c#?

595


Is c# and .net same?

575


What is difference between float and decimal?

608


What is a console operator?

582


Is predicate a functional interface?

588


Explain the difference between Response.Write () and Response.Output.Write ().

599


What are the three types of operators?

556


How can I get around scope problems in a try/catch?

552


Tell us something about static linking and dynamic linking?

616


What is the use of the dispose method in C# ?

611