Indonesian SWF Editor Community
 
HomeRegisterLog in
SELAMAT Datang Di Cmonhackns ===> Mulailah dari yang kecil... karena semua yang besar dulunya juga kecil..

Share | 
 

 Looping iseng dengan For While Syntax

View previous topic View next topic Go down 
AuthorMessage
RieqyNS13
Moderator
Moderator
avatar

Jumlah posting : 379
Join date : 2011-01-16
Age : 20
Lokasi : chmod 0655 GetConfig.SQL

PostSubject: Looping iseng dengan For While Syntax   Thu Jun 14, 2012 7:29 pm

dri pada ane depes dan gak ngapa2in mending iseng2 ngoding c++ aja gan,,,,

Code:
#include <iostream>
#include <string>
#include <iomanip>
#include <windows.h>
using namespace std;
int main()
{
    system("color 0A");
    system("TITLE looping Mas bro");
    unsigned long int loop, time, a=0, x;
    char set = ' ';
    cout<<"Input Looping = ";
    cin>>loop;
    cout<<"Input Interval = ";
    cin>>time;
    cout<<"Input Setfill Variabel = ";
    cin>>set;
    //Kalkulasi'_'//
    while(loop=loop-1)
    {
                      int t=loop+1;;
                      for(int a=1; a<=loop; a=a+1)
                      {
                              int c=a;
                              c=c*2;
                              t=t-1;
cout<<setfill(' ')<<setw(t)<<" "<<setfill(set)<<setw(c)<<" "<<endl;
                              Sleep(time);
                           
                      }
                      x=loop;
                      for(int b=1; b<=loop; b=b+1)
                      {
                              x=x-1;
                              int z=b, v=x;
                              v=v*2;
                              z=z+1;
                              cout<<setfill(' ')<<setw(z)<<" "<<setfill(set)<<setw(v)<<" "<<endl;
                              Sleep(time);
                      }
    }
    ////////////////
    system ("pause>nul");
    return 0;
}

jadi gini gan..

[You must be registered and logged in to see this image.]


_________________
403 Forbidden
Back to top Go down
http://rieqyns13.net
RieqyNS13
Moderator
Moderator
avatar

Jumlah posting : 379
Join date : 2011-01-16
Age : 20
Lokasi : chmod 0655 GetConfig.SQL

PostSubject: Re: Looping iseng dengan For While Syntax   Fri May 03, 2013 12:48 am

test kk bounce bounce

_________________
403 Forbidden
Back to top Go down
http://rieqyns13.net
RieqyNS13
Moderator
Moderator
avatar

Jumlah posting : 379
Join date : 2011-01-16
Age : 20
Lokasi : chmod 0655 GetConfig.SQL

PostSubject: test lagi kk   Sat May 04, 2013 8:49 am

test lagi ya kk Neutral Neutral Neutral

_________________
403 Forbidden
Back to top Go down
http://rieqyns13.net
RieqyNS13
Moderator
Moderator
avatar

Jumlah posting : 379
Join date : 2011-01-16
Age : 20
Lokasi : chmod 0655 GetConfig.SQL

PostSubject: 8)    Sat May 04, 2013 2:55 pm

Cool Cool

_________________
403 Forbidden
Back to top Go down
http://rieqyns13.net
RieqyNS13
Moderator
Moderator
avatar

Jumlah posting : 379
Join date : 2011-01-16
Age : 20
Lokasi : chmod 0655 GetConfig.SQL

PostSubject: Re: Looping iseng dengan For While Syntax   Sun May 05, 2013 2:28 pm


_________________
403 Forbidden
Back to top Go down
http://rieqyns13.net
@roykinan
Admin
Admin
avatar

Jumlah posting : 610
Join date : 2011-01-29
Age : 21
Lokasi : Blitar

PostSubject: Re: Looping iseng dengan For While Syntax   Sun Jul 14, 2013 6:51 am

awkakwkawk,, lucu juga nih, buat orang yg lagi bete banget ya nih?

_________________
[You must be registered and logged in to see this image.]
Code:
twitter      : http://www.twitter.com/ROYKINAN
Faceboook     : http://www.facebook.com/ROYGAZEROCK
Blog         : http://www.ROYKINAN.blogspot.com
Back to top Go down
http://roykinan.blogspot.com
DARK ANGEL OF CHEATER
Super Moderator
Super Moderator
avatar

Jumlah posting : 1248
Join date : 2011-04-12
Age : 19
Lokasi : Dihatimu

PostSubject: Re: Looping iseng dengan For While Syntax   Sun Oct 06, 2013 1:02 pm

yok bangkitin forum ~

_________________
_________________
TOLONG BACA FORUM RULES SEBELUM KALIAN MEMBUAT POST UNTUK MENGHINDARI PELANGGARAN RULES DI FORUM CMONHACKNS                                                                                                                                                                            TERIMAKASIH BAGI ANDA YANG SUDAH MEMATUHI RULES DI FORUM INI
Back to top Go down
http://www.facebook.com/www.cmonhackns.net
@roykinan
Admin
Admin
avatar

Jumlah posting : 610
Join date : 2011-01-29
Age : 21
Lokasi : Blitar

PostSubject: Re: Looping iseng dengan For While Syntax   Mon Oct 07, 2013 6:20 pm

RieqyNS13 lagi bete banget tuh, hahahah, sampe kyak gitu  

_________________
[You must be registered and logged in to see this image.]
Code:
twitter      : http://www.twitter.com/ROYKINAN
Faceboook     : http://www.facebook.com/ROYGAZEROCK
Blog         : http://www.ROYKINAN.blogspot.com
Back to top Go down
http://roykinan.blogspot.com
Sponsored content




PostSubject: Re: Looping iseng dengan For While Syntax   

Back to top Go down
 
Looping iseng dengan For While Syntax
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Nak Upgrade
» SYM VTS Special Edition
» Menunggu\menabung dengan penuh kesabaran- BMW
» Cross-Realms. Which Server can you Invite from and To?
» Pelaburan yang sah dari cermin mata BNM dan syariah - Cyber Trust Fund Corp

Permissions in this forum:You cannot reply to topics in this forum
cmonhackns.n-stars.org :: Computer Freakz :: All About Programming :: C/C++-
Jump to: