Solve this problem using only 7 & 5
A. Input M1
M3 = M1+M2
Input M2
Print M3
Line Number |
M1 |
M2 |
M3 |
Output |
1 |
7 |
|
|
|
2 |
|
|
7 |
|
3 |
|
5 |
|
|
4 |
|
|
|
7 |
B. Input M1
Input M2
Print M3
M3=M1+M2
Line Number |
M1 |
M2 |
M3 |
Output |
1 |
7 |
|
|
|
2 |
|
5 |
|
|
3 |
|
|
|
0 |
4 |
|
|
12 |
|
C.Input M2
Input M1
M3 = M1 + M2
Print M3
Line Number |
M1 |
M2 |
M3 |
Output |
1 |
|
5 |
|
|
2 |
7 |
|
|
|
3 |
|
|
12 |
|
4 |
|
|
|
12 |
0 Comments