Answers for "c# how to print a number"

C#
0

c# how to print a number

using System;
public class Exercise12
{
    public static void Main()
    {
        int num; 
 
        Console.WriteLine("Enter a digit: ");
        num = Convert.ToInt32( Console.ReadLine() );
        Console.Write( num );
   }
}
Posted by: Guest on January-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language