SHOW:
|
|
- or go back to the newest paste.
1 | #include<conio.h> | |
2 | #include<iostream.h> | |
3 | void main() | |
4 | { | |
5 | - | float a,b,c,d,e,f,g,h; |
5 | + | int a,b,c; |
6 | - | cout<<"masukkannilaiA=";cin>>a; |
6 | + | a=10; |
7 | - | cout<<"masukkannilaiB=";cin>>b; |
7 | + | b=(a+4<10); |
8 | - | cout<<"masukkannilaiC=";cin>>c; |
8 | + | |
9 | - | d=a+4<10; |
9 | + | cout<<"Nilai B=(a+4<10)="<<b<<endl; |
10 | - | e=b>a+5; |
10 | + | |
11 | - | f=c-3>=4; |
11 | + |