1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
cout.setf(cout.boolalpha);
int nArg1;
cout << "Input value 1:";
cin >> nArg1;
int nArg2;
cout << "Input calue 2;";
cin >> nArg2;
bool b;
b = nArg1 == nArg2;
cout << "The statement," << nArg1
<< "equals" << nArg2
<< "is" << b
<< endl;
return 0;
|
Last edited on
oh woops sorry... figured it out forgot }