Support Forums
My First C++ Project - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Programming with C++ (https://www.supportforums.net/forumdisplay.php?fid=20)
+---- Thread: My First C++ Project (/showthread.php?tid=3065)



My First C++ Project - Brainless Control - 11-21-2009

Code:
#include <iostream>
using namespace std;

int main()
{
    cout << "IQ Test::The Real Deal:: ";
    int a,b;

    cout << "Enter number lower than 5: \n";
    cin >> a;
    cout << "Enter number bigger than 5: \n";
    cin >> b;
    if(a < b) cout << "IQ result: Higher than 50,Good job. \n";
    if(a > b) cout << "IQ Result: lower than 30,You fail. \n";
    if(a==b) cout << "IQ Result: 40,what a shame. \n";
    
    return 0;
}
it's silly i know.


RE: My first C++ Project - se7en - 11-21-2009

but good for a bigger lol Big Grin


RE: My First C++ Project - Psycho - 11-28-2009

Well, it's a start. Just keep practicing, Xenocide. Smile


RE: My First C++ Project - Sagittarius - 12-11-2009

LOL...childplay...coding..for only.. under 5 years age


RE: My First C++ Project - Ireqom - 12-17-2009

hehe good job! I wish I knew that language! I'll learn myself C++ sometime I think.


RE: My First C++ Project - Brainless Control - 12-18-2009

Agh!,my lame project bumped lol Smile
Yeah it's nothing special actually.


RE: My First C++ Project - wat - 12-21-2009

I'd like to point out the average IQ is 100. An IQ higher than 50 isn't saying much. ;).

Nice job.


RE: My First C++ Project - nextlive - 12-24-2009

nice for a begginer with c++ Smile