[QUOTE=fifi tery;3997673105][SIZE="4"]شكرا اذن نستعمل
nextline لقراءة chaine de caractére ولذلك نحتاج
une classe "scanner"
هل نستعمله فقط في حل chaine de caratére
[/SIZE
لقراءة الأعداد الصحيحة نستعمل ;() int i = sc.nextInt
لقراءة الأحرف نستعمل ;() String str = sc.nextLine
و هناك أيضا
;() double d = sc.nextDouble
;() long l = sc.nextLong
; () byte b = sc.nextByte
إقرءي ما في هذه الصفحة ستفيد كثيرا :
https://openclassrooms.com/fr/course...ntrees-clavier