You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ram's teacher is giving the task to Ram to do the basic arithmetic opertions on two integer values.At a time he can do only one operation. Help the Ram to do the same using Lambda expression.
5
+
6
+
Input Format
7
+
8
+
First line will contain two ineteger values on which we have to perform the operation
9
+
Second line will contain one integer value which will describe the operation
10
+
1 addition
11
+
2 subtraction
12
+
3 multiplication
13
+
4 division
14
+
15
+
Constraints
16
+
17
+
number should be integer value
18
+
19
+
Output Format
20
+
21
+
one integer value represnting result of the operation if wrong input then print Invalid
0 commit comments