Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <Windows.h>
- int main()
- {
- int x,y;
- while(1){
- randomize();
- do{
- x=random(66);
- }while(x==0);
- randomize();
- do{
- y=random(24);
- }while(y==0);
- gotoxy(x,y);
- printf("PROGRAMIRANJE");
- Sleep(500);
- clrscr();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement