CONTOH PROGRAM C++ OPERATOR LOGIKA

scirpt
//Program Operator Logika
#include <iostream.h>
#include <conio.h>
void main()
{
  int m=166;
  cout<<“(m>=0 && m<=150) -> “<<(m>=0 && m<=150)<<endl;
  cout<<“(m>=0 || m<=150) -> “<<(m>=0 || m<=150)<<endl;
  getch();


}

Hasil :
Regard

Rismawan Junandia