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
What is the usage of Enumeration in C# Programming and is it good to use or not ?
Is it possible to force garbage collector to run?
Explain about c# language.
Explain the difference between // comments, /* */ comments and /// comments?
What is the difference between dynamic and var in c#?
How to find type of variable?
Explain the difference between proc. Sent by val and by sub?
Which operator cannot be overloaded in c sharp?
Are c# objects passed by reference?
What is the use of list in c#?
What is strong name assembly?
What is the real use of interface in c#?
What is cshtml?
Which class comes after the SortedList class?
What is the difference between var and dynamic types in c# 4.0?