JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Untitled Page | JustPaste.app
7 months ago90 views
#include <stdio.h>
#include <stdlib.h>
#include <time.h> // για την (time(NULL))

int main ()
{ system ("chcp 1253 > nul");

	int die; 
	
	srand(time(NULL)); //srand(time(0))
	die = 1 + rand()%6;
	
	printf("Το ζάρι έφερε %d.\n", die); 
	
	system("PAUSE");
	return 0;
}

⚠️Content was pasted as plain text and auto-formatted as a code block. Use the Code Block button in the editor for proper formatting.

← Back to timeline