Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cmd.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php
echo "入力してください";
$input = fgets(STDIN);
echo "入力したもの:";
echo "入力したもの : ";
echo $input;

$flug = true;
do {
print '\n';
print 'a+bのaを入力(数字)';
print ' a + b の a を入力(数字)';
$input_a = fgets(STDIN);
print 'a = ';
print $input_a;
print 'これでいいですか? y/n';
print 'これでいいですか? y/n';

do {
$input =fgets(STDIN);
Expand All @@ -33,11 +33,11 @@
$FLUG = true;
do {
print '\n';
print 'a+bのbを入力(数字)';
print 'a + b の b を入力(数字)';
$input_b = fgets(STDIN);
print 'b = ';
print $input_b;
print 'これでいいですか? y/n';
print 'これでいいですか? y/n';

do {
$input =fgets(STDIN);
Expand Down