<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # C++ 程序:將兩個數相乘 > 原文: [https://www.programiz.com/cpp-programming/examples/product-numbers](https://www.programiz.com/cpp-programming/examples/product-numbers) #### 在此程序中,要求用戶輸入兩個數字(浮點數)。 然后,這兩個數字的乘積將存儲在變量中并顯示在屏幕上。 * * * ## C++ 程序:將兩個數字相乘 ```cpp #include <iostream> using namespace std; int main() { double firstNumber, secondNumber, productOfTwoNumbers; cout << "Enter two numbers: "; // Stores two floating point numbers in variable firstNumber and secondNumber respectively cin >> firstNumber >> secondNumber; // Performs multiplication and stores the result in variable productOfTwoNumbers productOfTwoNumbers = firstNumber * secondNumber; cout << "Product = " << productOfTwoNumbers; return 0; } ``` **輸出** ```cpp Enter two numbers: 3.4 5.5 Product = 18.7 ``` 在此程序中,要求用戶輸入兩個數字。 用戶輸入的這兩個數字分別存儲在變量`firstNumber`和`secondNumber`中。 然后,求值`firstNumber`與`secondNumber`的乘積,并將結果存儲在變量`productOfTwoNumbers`中。 最后,在屏幕上顯示`productOfTwoNumbers`。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看