Q26.Consider the procedure `mSum` as shown below. What will be the value of `mSum(4,4,2)`?
```
Procedure mSum(A, B, C)
Sum = 0
if(A >= C and A >= B){
Sum = B + C
}
else{
if(B >= C and B >= A){
Sum = A + C
}
else{
Sum = A + B
}
}
return(Sum)
End mSum
```
Save
Check
Details
Q26
7 Jul 2024
Q26.Consider the procedure `mSum` as shown below. What will be the value of `mSum(4,4,2)`?
```
Procedure mSum(A, B, C)
Sum = 0
if(A >= C and A >= B){
Sum = B + C
}
else{
if(B >= C and B >= A){
Sum = A + C
}
else{
Sum = A + B
}
}
return(Sum)
End mSum
```