Kasus 4.1

Pertanyaan :
Cetaklah bilangan 1 sampai 4

 #include <iostream>
using namespace std;

int main(int argc, char** argv) {

int  i,batas; batas=4;
i=1;  

cout<<"Program Mencetak Bilangan 1-4"<<endl;
while(!(i>batas)){  
cout<<i<<endl;  
i=i+1;
}  
return 0;
}



Raptor :


 
Share on Google Plus

About Luthfi

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment