Berlangganan

About Me


contoh 12

# include <iostream.h>

void main ()
{
    int m=5, n;
    n=++m * --m;
    cout << "m=" << m<< " n= " << n << endl;
    cout << ++m << " " << ++m << " " << ++m << endl;
}

output

m = 5 n = 25
8 7 6

Related Posts :

  • contoh 33 # include <iostream.h> void tampilkan_judul(); void main () {     tampilkan_j… Read More...
  • contoh 31 # include <iostream.h> void main () {     cout<<"tes to go"<<endl… Read More...
  • contoh 30 // program kontinue dan break # include <iostream.h> void main() {     int i… Read More...
  • contoh 34 // nama program : clokal_eksternal.cpp // contoh program variabel lokal dan eksternal # include &l… Read More...
  • contoh 32 # include <iostream.h> double hasil ( int A, int B); void main () {   int x,y;   … Read More...

0 Response to "contoh 12"

Post a Comment