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
Explain how can you clean up objects holding resources from within the code?
Can a class be protected in c#?
How can an inner class access the members of outer class?
Explain the term inheritance in C#.
What is the purpose of namespace?
What is dictionary and hashtable in c#?
What is Covariance and contravariance in C#?
What are handlers in c#?
What are the main reasons to use c# language?
What is action in c# 3.5?
Define an assembly in .net?
What is dynamic in c#?
How to declares a two-dimensional array in C#?
How to use exception handling in stored procedure?
Explain lock, monitors, and mutex object in threading.