You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
406 B
C#
15 lines
406 B
C#
using System;
|
|
public class Exercise13
|
|
{
|
|
public static void Main()
|
|
{
|
|
int x;
|
|
Console.Write("Enter a number: ");
|
|
x=Convert.ToInt32(Console.ReadLine());
|
|
Console.WriteLine("{0}{0}{0}",x);
|
|
Console.WriteLine("{0} {0}",x);
|
|
Console.WriteLine("{0} {0}",x);
|
|
Console.WriteLine("{0} {0}",x);
|
|
Console.WriteLine("{0}{0}{0}",x);
|
|
}
|
|
} |