Johnelesho's Posts
Nairaland Forum › Johnelesho's Profile › Johnelesho's Posts
1 (of 1 pages)
import java.io.*; public class SeparateInput { public static void main(String [] args) { int j = args.length; String k = args[0].substring(0,1); String l = args[0].substring(1,2); String m = args[0].substring(2,3); String n = args[0].substring(3,4); String o = args[0].substring(4,5); System.out.println("\t" + k + " " + l + " " + m + " " + n + " " + o); System.out.println("\nThis is the input at runtime, you can try another input here" ;Console word = System.console(); String werd = word.readLine("Give a five letter or digit word\n" ;String p = werd.substring(0,1); String q = werd.substring(1,2); String r = werd.substring(2,3); String s = werd.substring(3,4); String t = werd.substring(4,5); System.out.println("\n" + p + " " + q + " " + r + " " + s + " " + t); System.out.println("\tThis is the input at runtime, you can try another input here" ;} |
hello Friend i am new to nairaland and I want you all to keep me on the track on anything programming. I have quite a lot of ebooks and i am willing to give anyone who deisres. Just contact me on 08073822737, send your email address to me, better stil post your email. Thanks and Happy Easter |
pls, i am interested and i will like to have them, regardless of any language you have specified. I want to strike balance in some major language like Java, C++ C#, Vb.net at least 78% in all. It is possible. with your project i think i can |
help me please, i score 247 computer science how do i go about the post jamb unilag |
please, what is unilag cut off mark and how do i register for the post jamb. please help me i score 247 computer science. thanks. |
1 (of 1 pages)
;