BAB 1.6=>MENGHITUNG KEMBALIAN MENGGUNAKAN C++ DAN RAPTOR

1.) C++
#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{int x,y,z;
x=20000;y=5500;
z=x-(3*y);
cout<<"UANG DARI IBU : Rp."<<x<<"\n";
cout<<"ADEK MEMBELI 3 Kg BERAS DENGAN HARGA Rp."<<y<<" per Kg \n";
cout<<"UANG KEMBALIAN : Rp.";

cout<<z<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}
 2.) RAPTOR

Share this

Related Posts

Previous
Next Post »

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer