Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class FloatOrDouble
- {
- static void Main(string[] args)
- {
- double numberOne = 34.567839023;
- float numberTwo = 12.345f;
- double numberThree = 8923.1234857;
- float numberFour = 3456.091f;
- Console.WriteLine(numberOne);
- Console.WriteLine(numberTwo);
- Console.WriteLine(numberThree);
- Console.WriteLine(numberFour);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment