Friday, June 17, 2016

Program sederhana dengan perintah for di dev c++

  • PROGRAM DENGAN PERINTAH FOR

// Taufik Hendriyanto
#include<iostream>
using namespace std;
int main()
{
int C;
for (C=5; C>0; C--)
{
                cout<<"No System Is Safe"<<endl;
}
return 0;
}
  •  ALGORITMA


{Mencetak tulisan No System Is Safe sebanyak 5 kali}

  • FLOWCHART

0 comments:

Post a Comment