TeiSerron.gr
Σχολή Μηχανικών => 2ο Εξάμηνο => Τμήμα Μηχανικών Πληροφορικής, Υπολογιστών & Τηλεπικοινωνιών => Προγραμματισμός II => Μήνυμα ξεκίνησε από: sts_ou στις 12 Σεπτεμβρίου 2016, 22:07
-
.
-
Το πρωτο θεμα εμφανιζει:
30 50
30 130
??
-
Η λύση του πρώτου θέματος είναι:
40 50
90 140
Online εκτελέσιμος κώδικας:
https://goo.gl/tnH13F (https://goo.gl/tnH13F)
-
1o thema :40 50 , 90 140 opws eipe o prolalisantas checkarete to grafontas ton kwdika an thelete
2o thema :apo -10 ews -1(ekshghsh)
paradeigma tis rand()%-
v1 = rand() % 100; v1=0-99
v2 = rand() % 100 + 1; v2=1-100
v3 = rand() % 30 + 1985; v3=1985-2014
3o thema :210 , 298,200
SEEK_SET Beginning of file
SEEK_CUR Current position of the file pointer
SEEK_END End of file *
(deite thn diafania gia kalyterh katanohsh :http://teachers.teicm.gr/dvarsam/wp-content/uploads/Progr_II/Progr_II_Theory_slides_6.pdf)
4o thema (dn eimai sigouros kapoios p kserei as to sigourepsei ) :
a1=a[1];
a2=a[98];
a3=a[60];
o pinakas ksekinaei apo to a[0]
-
1o thema :40 50 , 90 140 opws eipe o prolalisantas checkarete to grafontas ton kwdika an thelete
2o thema :apo -10 ews -1(ekshghsh)
paradeigma tis rand()%-
v1 = rand() % 100; v1=0-99
v2 = rand() % 100 + 1; v2=1-100
v3 = rand() % 30 + 1985; v3=1985-2014
3o thema :210 , 298,200
SEEK_SET Beginning of file
SEEK_CUR Current position of the file pointer
SEEK_END End of file *
(deite thn diafania gia kalyterh katanohsh :http://teachers.teicm.gr/dvarsam/wp-content/uploads/Progr_II/Progr_II_Theory_slides_6.pdf)
4o thema (dn eimai sigouros kapoios p kserei as to sigourepsei ) :
a1=a[1];
a2=a[98];
a3=a[60];
o pinakas ksekinaei apo to a[0]
3o thema :210 , 298,201*
a3=a[59];*