統計
MATLAB Answers
1 質問
0 回答
ランク
of 171,361
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
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...
3年弱 前 | 2 件の回答 | 0