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
How C# 4.0 supports dynamic programming language?
What is the use of readkey in c#?
Which class does the remote object has to inherit?
What is a streamwriter in c#?
Explain what a diffgram, and a good use for one Define diffgram? How it be used?
Can we maintain state in webservice?
What’s thread.sleep() in threading ?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
How do I unload an assembly?
How do I download a program to my desktop?
code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.
What is concrete class in c# with example?
What is yield keyword?
How many types of constructors are there?
What is difference between static and constant variable?