Minggu, 20 Maret 2016

tugas minggu ke 4 #4.1

4.1


 #include <iostream>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
    int i;
    for(i=1;i<=4;i++){
    cout<<" "<<i;
}
while(i<=4){
    cout<<" "<<i;
    i++;
}
do{
cout<<" "<<i;i++;
}
while(i<=4);
    return 0;
}


Unknown

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 komentar:

Posting Komentar