Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main()
- {
- float a = float.Parse(Console.ReadLine());
- float b = float.Parse(Console.ReadLine());
- float c = float.Parse(Console.ReadLine());
- float biggestNum = a;
- if (a < b)
- {
- biggestNum = b;
- }
- if (biggestNum < c)
- {
- biggestNum = c;
- }
- Console.WriteLine(biggestNum);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement