do while statement


do while statement


#include <iostream>
using namespace std;
int main(){
                int a=1;
               
                do{
                                cout<<a<<".Belajar Pemrograman Tersruktur"<<endl;
                                a=a+1;
                }while(a<=15);
                return 0;
}

Comments

Popular posts from this blog

Apa itu HTML???

Program C++ mencari nilai minimum