Posts

Showing posts from March, 2021

ALGORITMA PEMROGRAMAN TERSTRUKTUR

Image
 DEV C++ POLA SEGITIGA ,PERULANGAN, DAN DISKON 1.        #include <iostream> using namespace std;   int main(){         for(int i=1; i>7; i--){                         for(int j=1; j<i; j++){                                         cout<<j;                         }                         cout<<endl;         }         return 0; } 2.        #include <iostream> using namespace std;   int main() {         cout << "=================================================="<<endl;         cout << "                  SISTEM INFORMASI   "<<endl;         cout << "                    WAHYU SOFIANDA"<<endl;         cout << "                     0702203236       "<<endl;         cout << "=================================================="<<endl;                         for(int i = 1; i<5; i++){