LoginSignup
1
0

More than 1 year has passed since last update.

[問題]
ユキさんは、スーパーでアルバイトをしています。
時給A円でB時間働くと、何円お給料をもらえるでしょうか。

コード

$input1= fgets(STDIN);
$input2= fgets(STDIN);
echo $input1 * $input2, PHP_EOL;

↓ 990、5と入力

結果

4950
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0