Monday, June 20, 2016

Program sederhana perintah for difungsikan di dev c++

  • PROGRAM SEDERHANA PERINTAH FOR DI FUNGSIKAN
//Taufik Hendriyanto
#include<iostream>
using namespace std;
void nama () {
for (int c=0; c<5; c++) {
cout<<"NO SYSTEM IS SAFE"<<endl;
}
}
int main(){
nama();
return 0;
   }

  • ALGORITMA

{Mencetakan tulisan NO SYSTEM IS SAFE sebanyak 5 kalimat}

0 comments:

Post a Comment