2 תשובות
יוצר מחרוזת חדשה ו2 לולאות
אחרי הלולאה שבפנים שמעתיקה אתה עושה @ ואז שוב בחזרה מעתיקה
אחרי הלולאה שבפנים שמעתיקה אתה עושה @ ואז שוב בחזרה מעתיקה
import java.util.scanner; zzz
scanner in= new scanner (system.in); zzz
for (int i=0; i<50; i++) { zzz
string str1= in.nextline(); zz
string str2= in.nextline(); zzz
system.out.println(str1+'@' + str2); zz
{
scanner in= new scanner (system.in); zzz
for (int i=0; i<50; i++) { zzz
string str1= in.nextline(); zz
string str2= in.nextline(); zzz
system.out.println(str1+'@' + str2); zz
{
באותו הנושא: