c1

utorak, 10. travnja 2012.

5. Simple C++ Program - Tutorial


#include <iostream>
using namespace std;
int main()
{
    int number;
    cout<<"Please enter number: ";
    cin>>number;
    if(number>10){
                  cout<<"The number that you entered is bigger than 10"<<endl;
                  }
    else{
         cout<<"The number that you entered is not bigger than 10"<<endl;
         }
            cout<<endl<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}

Nema komentara:

Objavi komentar