Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleInputOutput
- {
- public static class SumOfThree
- {
- public static void Main()
- {
- decimal a = decimal.Parse(Console.ReadLine());
- decimal b = decimal.Parse(Console.ReadLine());
- decimal c = decimal.Parse(Console.ReadLine());
- Console.WriteLine(a+b+c);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement