Practicing Return Values
Here operate
is a method which is supposed to return true
if a + b
equals c
. Fill in the blank to make the method behave accordingly.
main
using System; namespace ConsoleApp { internal class Program { static __ operate(int a, int b, int c) { __; } static void Main(string[] args) { Console.WriteLine(operate(1, 2, 3)); Console.WriteLine(operate(2, 4, 1)); Console.WriteLine(operate(5, 10, 15)); } } }
Thanks for your feedback!