hello am new here.. can somebody tell me if there's a restriction for a decimal numbers entered? for instance,
cout<<"Enter number: "
cin>>num;
--- if the user put a decimal number on the variable num..
i want this to be INVALID INPUT in the terminal screen as a result.
any idea please.. it's c++.. thanks!