MEnampilkan urutan data C++


1. Flowchart

2. C++

 script

#include <iostream>

using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

main(){
    int i;
    for(int i=1;i<=4;i++){
    cout<<i<<endl;
    }
}

Komentar