Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Enter a , b ,f");
- Console.WriteLine("Enter a =");
- int a = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Enter b =");
- int b = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("Enter f =");
- int f = Convert.ToInt32(Console.ReadLine());
- int result = (a + b - f / a) + f * a * a - (a + b);
- Console.WriteLine("Result = " + result);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement