fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. for (int a = 1; a <= 10; a++)
  8. {
  9. Console.WriteLine("2x{0}= {1} ", a, a * 2);
  10. }
  11. }
  12. }
Success #stdin #stdout 0.05s 23992KB
stdin
Standard input is empty
stdout
2x1= 2 
2x2= 4 
2x3= 6 
2x4= 8 
2x5= 10 
2x6= 12 
2x7= 14 
2x8= 16 
2x9= 18 
2x10= 20