Modify the Welcome program. Accept an integer value at command line and print the
message that many number of times. E.g. c: \>Welcome 2 should print message 2
times.
(Hint : use the args[] parameter of main(). This holds an array of strings, each
parameter represented by one string.)
Page 8 of 53
how i do the program in command line argument with a condition that, 1) loop will break if one of the command line argument is"good bye"
2)the loop will continue from the beginning , skipping the rest of the loop if one of the arguments is "welcome"
Command lineSuraj Prasad Singh July 7, 2011 at 7:07 PM
i want to multiply two numbers by passing 2 numbers and an operator * as command line. i want code for this....
javarajesh October 15, 2011 at 6:28 PM
i like it
javaAlok roy May 6, 2012 at 2:53 PM
what is STRING HANDLING.
urgnt..sankalp karakoti May 8, 2012 at 11:03 PM
Modify the Welcome program. Accept an integer value at command line and print the message that many number of times. E.g. c: \>Welcome 2 should print message 2 times. (Hint : use the args[] parameter of main(). This holds an array of strings, each parameter represented by one string.) Page 8 of 53
command line argumentskani October 4, 2012 at 4:50 PM
how i do the program in command line argument with a condition that, 1) loop will break if one of the command line argument is"good bye" 2)the loop will continue from the beginning , skipping the rest of the loop if one of the arguments is "welcome"
Post your Comment