Program Hitung Genap

 Program :


#include <iostream>

using namespace std;

int main() {

    for (int i = 2; i <= 100; i += 2) {

        cout << i << " ";

    }

    return 0;

}


Hasil Run :



Comments

Popular posts from this blog

Program Menghitung Volume Balok

Program Memperkenalkan keluarga

Program Keliling Persegi Panjang