Computer Science, asked by lipinath, 1 year ago

hlo
write a program (java)

Attachments:

Answers

Answered by Anonymous
0
hey mate ur answer is
⬇⬇⬇⬇⬇⬇
import java.util.Scanner;
public class NumToken
{
public static void main(String arg())
{
Scanner in=new Scanner (System. in);
System.out.println("enter a line ending with space");
while (true)
{
if(in.hasNextInt())
System.out.println(in.nextInt()+" ");
if(in.next().equals("."))
break;
}
}
}

ronilrocky: friend bana ha kya
ronilrocky: bade log ke chiz dekhte ho kya
ronilrocky: ok
ronilrocky: friend bana lo
ronilrocky: gusa ho gay kya
ronilrocky: kya kr rhe ho
ronilrocky: friend request accept kr lo
Similar questions