Thread: Need opinion...
View Single Post
Old Jan 25th, 2005, 7:34 PM   #46
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
#include <iostream>
#include <string.h>
using namespace std;

string str1;
int a;
int b;
int c;
float d;
float e;

int main()
{
    int a = 2;
    int b = 5;
    float d = 0.5;
    cout << "stupid little operators test by Broax...\n";
    c = a + b;
    e = c + d;
    cout << ((a >= 4)?"testA":"testeB") << endl;
    cout << "The result is: " << e << endl;
    return 0;
}
__________________

tempest is offline   Reply With Quote