on the properties of the timer, change interval = 100
Enjoy it... ^_^
If anyone does not understand please ask and leave a comment ..
and do not forget to follow our blog ..^_^
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
main()
{
float z,y,x,w,v,u,a,b;
cout<<"Program Operator Relasi"<<endl<<endl;
cout<<"Masukkan Nilai A = ";cin>>a;
cout<<"Masukkan Nilai B = ";cin>>b;
cout<<endl<<endl;
u=a==b;
v=a!=b;
w=a>b;
x=a<b;
y=a>=b;
z=a<=b;
cout<<"Program Operator Relasi"<<endl<<endl;
cout<<"Hasil Dari "<<a<<" == "<<b<<" = "<<u<<endl;
cout<<"Hasil Dari "<<a<<" != "<<b<<" = "<<v<<endl;
cout<<"Hasil Dari "<<a<<" > "<<b<<" = "<<w<<endl;
cout<<"Hasil Dari "<<a<<" < "<<b<<" = "<<x<<endl;
cout<<"Hasil Dari "<<a<<" >= "<<b<<" = "<<y<<endl;
cout<<"Hasil Dari "<<a<<" <= "<<b<<" = "<<z<<endl;
getch();
}
Output :
ReadMore...
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<iomanip.h>
main ()
{
int nilai;
cout<<"Nilai = ";cin>>nilai;
cout<<endl;
cout<<"Nilai ke Octal = "<<oct<<nilai<<endl;
cout<<"Nilai ke Hexadesimal = "<<hex<<nilai<<endl;
cout<<"Nilai ke Desimal = "<<dec<<nilai<<endl;
getch();
}