Sunday, May 26, 2013

Pemrograman C++ Pengulangan While

Video :


Source code : 
// Modul 6-1
// Nama : Ulil Albab
// NIM : 49013033

#include "stdafx.h"
#include <iostream>
using namespace std;

int main() 
{
 int pencacah = 1;
 while(pencacah <= 10)
 {
  cout << " D4 - Teknologi Media Digital\n";
  pencacah++;
 }
 
 system("pause");
 return 0;
}

No comments:

Post a Comment