![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/19145341_1596768006804_DEF.jpg)
Joshua Salvilla
Followers: 0 Following: 0
Feeds
提问
I was using if and Elseif statements. Everytime I input the third option the print for the second option appears.
clc p1 = input('Player 1 Play:','s'); p2 = input('Player 2 Play:','s'); if (p1 == 'P') || (p1 == 'p') && (p2 == 'r') || (p2...
1 year 前 | 2 个回答 | 0