" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include<conio.h>
void delay(int a)
{
for(int x=0;x<a*100;x++)
{
for(int y=0;y<a*100;y++)
{}
}
}
void kanan()
{
for (int i=1;i<20;i++)/*seberapa jauh looping yg mau di pakai, angka 20 bisa diganti sesuka anda*/
{
gotoxy(i,2);
delay(100);
cout<<" a";
}
}
void main()
{
kanan();
getch();
}