Results 1 to 5 of 5
  1. #1
    mraccryu23614's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    59
    Reputation
    9
    Thanks
    9
    My Mood
    Angelic

    Celsius to Fahrenheit C++

    I just want to share this if you to lazy to convert Ctemp to Ftemp exp.
    i was on school and they said how to convert Celsius to Fahrenheit so i went home and think lol xDDD

    Code:
    // I use Visual Studio 2008
    #include <iostream>
    using namespace std;
    int main() {
    double ctemp; // Celsius temperature
    double ftemp; // Fahrenheit temperature
    
    // Get value of ctemp (Celsius temp).
    cout << "Input a Celsius temp and press ENTER: ";
    cin >> ctemp;
    
    // Calculate ftemp (Fahrenheit temp) and output.
    ftemp = (ctemp * 1.8) + 32;
    cout << "Fahrenheit temp is: " << ftemp << endl;
    return 0;
    }
    can u guys gave me a link for like a C++ question and quiz and stuff.

    thanks

  2. #2
    Dguard's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    649
    Reputation
    1
    Thanks
    65
    My Mood
    Inspired
    Leeched....

  3. #3
    mraccryu23614's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    59
    Reputation
    9
    Thanks
    9
    My Mood
    Angelic
    Quote Originally Posted by Dguard View Post
    Leeched....
    Come on!!!! i was reading this thing called ("Don't Fear, C++ is here") Well i got some information on it so yea i little bit a leech lol^_^

    i am stuck studying!!!! nuuuuuuuuuuuuuuuuuuuuuuu can u be my teacher lol

  4. #4
    Rattle's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Crack House
    Posts
    11,649
    Reputation
    1343
    Thanks
    2,497
    My Mood
    Cynical
    But u should give credits. Did you?
    Previous Name: Woods / Opticz
    • Minecraft Minion from: September 28th, 2011 - December 8th, 2013
    • League Of Legends Minion from: October 16th, 2011 - March 30th, 2012
    • AVA Minion from: January 6th, 2012 - March 30th, 2012
    • Battlefield Minion from: February 3rd, 2013 - December 8th, 2013
    • Combat Arms Wiki Editor from: June 15, 2011 - July 4, 2011
    Proud to be a part of the first gen. MPGH Editors.

    Contact:
    Email: realmpghwoods@gmail.com
    Skype: mpghwoods


  5. #5
    mraccryu23614's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    59
    Reputation
    9
    Thanks
    9
    My Mood
    Angelic
    Quote Originally Posted by Opticz View Post
    But u should give credits. Did you?
    yeah i forgot about thats if your in collage and you have a project and you went to the internet and get some information in the internet and you didn't put where did you get the information you will not pass ^_^

    yeah Credit to ("Don't Fear, C++ is here") its a book