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
Why is c# better than java?
Give some examples for built in datatypes in c#?
What is .net c#?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
If you define a user defined data type by using the struct keyword, is it a value type or reference type?
What is parallel foreach c#?
Can arraylist store different data types in c#?
What is web forms in c#?
How can we set the class to be inherited, but prevent the method from being over-ridden?
What is an argument in c#?
how to implement a web service in .net
in object oriented programming, how would you describe encapsulation?
Which controls do not have events?
What is the use of system.environment class in c#.net?
Why do we use threads in c#?