Answers for "float input in c#"

2

input float

<input type="number" step="any" />
Posted by: Guest on July-04-2021
0

float input in c#

using System;

public class Test
{
	public static void Main()
	{
		float n;
		n = float.Parse(Console.ReadLine());//float input
		Console.WriteLine(n);//printing the number
		
	}
}
Posted by: Guest on May-16-2022

Browse Popular Code Answers by Language