Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   C++ (https://www.askmehelpdesk.com/forumdisplay.php?f=439)
-   -   Interactive C++ program that inputs a series of 12 temperatures from the user. (https://www.askmehelpdesk.com/showthread.php?t=216180)

  • May 15, 2008, 06:13 AM
    willwill
    Interactive C++ program that inputs a series of 12 temperatures from the user.
    Interactive C++ program that inputs a series of 12 temperatures from the user.
  • May 15, 2008, 06:31 AM
    ScottGem
    Please review the guidelines on asking for help with homework that can be found here:

    https://www.askmehelpdesk.com/arts-l...board-b-u.html
  • May 15, 2008, 06:57 AM
    twistedz
    First define 12 varible of type int or double. Double would be a better option. If you are more advance use an array. Then ask the user to input a value and store it.

    e.g.
    double temp1;
    cout << "Please enter first temp";
    cin >> temp1;

    I can't do you'r homework but here's a guideline

  • All times are GMT -7. The time now is 03:26 PM.