in reply to Re^7: tabular format of data
in thread tabular format of data

I have commented the "say" line in ut code and execued ur code. It gave me the output as : A |B| |C| .. Instead of ---------- A|B ---- C|D ---- Could u pls modify ur code and let me know how i can use <code> tag part in ur code SO that I can get the above for mat result.. Please help me, I am not so familar of use of the <code> tag Could u pls modify ur code and pls let me know.

Replies are listed 'Best First'.
Re^9: tabular format of data
by JavaFan (Canon) on Feb 18, 2012 at 13:33 UTC
    How to use code tags, a guide for dummies.
    1. Locate the , key on your keyboard.
    2. Locate one of the shift keys on your keyboard.
    3. Press the shift key, but don't release it yet.
    4. Press the , key.
    5. Release both the , and shift keys.
    6. Now, locate the c key.
    7. Press and release the c key.
    8. Now, scan your keyboard and find the o key.
    9. Press and release the o key.
    10. Find the d key on your keyboard.
    11. Press and release the d key.
    12. Go and hunt for the e key.
    13. If you've found the e key, press and release it.
    14. Go and look for the . key, it's probably next to the , key.
    15. Do you remember where you found the shift key? Good.
    16. Now, press the shift key, but don't release it yet.
    17. Press the . key.
    18. Release the shift and . keys.
    19. Now, type in your code, or output, or error message, or anything you want to show us unformatted.
    20. When done, remember the , and shift keys.
    21. Press them both (shift key first), then release them.
    22. Go look for the / key.
    23. Press it, and release it!
    24. Now, do a happy dance, you're almost there!
    25. Press and release, in the following order: the c key, the o key, the d key and the e key. You still remember where they are, don't you?
    26. Press the shift key, don't release it, press the . key, and then release both.
    27. Get some milk and cookies, you've done this overly complicated task. Only very big boys manage to do this!
Re^9: tabular format of data
by marto (Cardinal) on Feb 18, 2012 at 13:50 UTC
Re^9: tabular format of data
by deepak_4682us (Initiate) on Feb 18, 2012 at 16:28 UTC
    can u pls suggest how can i use 'javafan" code to print in the required output
Re^9: tabular format of data
by deepak_4682us (Initiate) on Feb 18, 2012 at 13:49 UTC
    Hi, I was just looking for how I can use <code> tag in ur code so that I can implement it.

      I think you are confused, <code> tags are for the correct formatting of your posts on this site, they are not things you are going to put into code JavaFan has provided you.

A reply falls below the community's threshold of quality. You may see it by logging in.