31 January 2008

Variabel 2

#include<iostream.h>

#include<conio.h>

main ()

{

int a,b;

int hasil;

cout<<"Masukan angka = ";

cin>>a;

cout<<"Masukan angka = ";

cin>>b;

hasil = a - b;

cout<<"Hasil Pengurangan : " <<a<< " - " <<b<< " = "<< hasil;

getch();

}

COMMENTS :

Don't Spam Here

0 komentar to “Variabel 2”

 

Copyright © 2009 Fresh Themes Gallery | NdyTeeN. All Rights Reserved. Powered by Blogger and Distributed by Blogtemplate4u .