pengulangan.txt

download pengulangan.txt

of 4

Transcript of pengulangan.txt

  • 8/18/2019 pengulangan.txt

    1/4

    -===============================================================================-|Pengulangan C++ |[email protected]/[email protected]|085352086591|-================-================================================-=============-| ALGORITMA DAN PEMROGRAMMAN DASAR|-===============================================================================-|||- While|| While (syarat pengulangan)|| {|| instruksi;|| }|| --------------------------|

    | #include || using namespace std;|||| void main()|| {|| int i;|| i = 0;

    || while (i < 10)|| {|| cout

  • 8/18/2019 pengulangan.txt

    2/4

    | instruksi;|| } while(syarat pengulangan);|| ----------------------------|| #include || using namespace std;| |||| void main()|| {|| int i;|| i = 0;|| do|| {|

    | cout

  • 8/18/2019 pengulangan.txt

    3/4

    | using namespace std;|||| void main()|| {|| int i;|| for (i = 1; i

  • 8/18/2019 pengulangan.txt

    4/4

    | {|| for (kolom = 1; kolom = 1; kolom--)

    || cout