خرید بک لینک

Vote count: 0

The scaer stops reading the integers after the first one from the scaer class. How do I make it read them all, even if there are spaces? My assignment is due very soon so if someone could help me, that would be awesome.

System.out.println("please enter numbers to decrypt"); 
num = sc.nextInt();  // number to decrypt
result = sourcetext.charAt(num); //retrives each character that num points  
it          
to from sourcetext
int i=0;
for(i = 0; i < num; i++)
temp= sourcetext.charAt(sourcetext.indexOf(i));
System.out.println(sourcetext.charAt(sourcetext.indexOf(i)));

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 7 ارديبهشت 1395 ساعت: 9:02

صفحه بندی