#Chapter 4 - Kasus 4.6
#include <stdio.h>
#include<iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
main() {
int x;
int y;
cout<<"\nMasukkan bilangan ke- 1 :";
cin>>x;
cout<<"Masukkan bilangan ke-2 :";
cin>>y;
if(x>y){
cout<<"lebih besar dari pada\n\n ";cin>>x,y;
}else if(x=y){
cout<<"sama besar dengan\n\n";cin>>x,y;
}else{
cout<<"lebih kecil dari pada\n\n";cin>>x,y;
}
return 0;
}
Minggu, 17 April 2016
Chapter 4 - Kasus 4.6
01.15
No comments
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar