- 2

Tell me the code for this question instr1 instr2 out str

instr1 instr2 outstr "Bruce" "Truck" 'B' "profess" "America" 'A' "common" "Commander" ' X' "Groot" "Gamora" 'C'

10th May 2022, 4:47 AM
Yeturu Pushpa rani
Yeturu Pushpa rani - avatar
2 Answers
+ 1
For the first two examples, the smallest ASCII value from comparison of the first letter from <instr1> and <instr2> is a possibility. Don't know how the last two examples came out with such results. P.S. You might improve your chances for answer if you can provide extra details on instruction & requirement.
10th May 2022, 5:02 AM
Ipang
0
Do you want us to program the output?
10th May 2022, 6:17 AM
Chris Coder
Chris Coder - avatar