- 2

How to write program for giving input " hai" and I want auto reply "hello"...and it should be a continuous process...java

Please write this program using java

6th Feb 2021, 9:41 AM
Durga
Durga - avatar
1 Réponse
+ 1
Ask for input in a while loop . If input is "hai" Then only output hello otherwise break loop
6th Feb 2021, 10:14 AM
Abhay
Abhay - avatar