Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Please develop a simple console base application, which reads some persons records from a “.txt” file and displays each person’s information in form of table. The program should also count and display the number of alphabets, spaces, integers, words, characters and lines from the file in tabular form.
please make this application file (.java) and driver file (.java) separately.
(All three files will be in one folder for execution through driver file)
 
text file is containing the follwing text.
David, 51, IT, 40006, Bachelor
Tomb, 85, Computer, 40502, Master
Stephen, 97, Maths, 40652, Phd
..............................
it is infact
name, rollNo, grade, phoneNo, program
variables.
Posted 5-Nov-12 4:28am
Edited 5-Nov-12 5:12am
TorstenH.33.9K
v2
Comments
Sharjith at 5-Nov-12 9:52am
   
Is this a question or delegation of your assignment? Please do your homework on your own. Put some effort and then raise specific questions where you get really stuck.
Sergey Alexandrovich Kryukov at 5-Nov-12 15:42pm
   
What it this? This is abuse. Please report as such.
--SA
Shah Baba at 6-Nov-12 11:26am
   
@Sharjith
If you are not familiar with java code then no need to interrupt gentleman,,,
the problem is only how to count characters and words and print it in tabular form.....
If u r unable to then please sit back and keep quite....
Sharjith at 6-Nov-12 17:57pm
   
Dear Shah Baba, I don't know from which world you come but the arrogance you pose won't help you get along anywhere. I didn't try to even report your post as an abuse of the forum while I should have done so. I just had a piece of advice for your betterment and you should have already noted what even others feel the same by looking at the solution posted below by another member here. And to judge my familiarity with java code take some effort to go through my articles, which I am sure you haven't even taken the trouble of doing so before replying to me.
Shah Baba at 9-Nov-12 13:08pm
   
thanks dear.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

No. We do not do your homework for you, as I already explained here[^].
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 329
2 CPallini 270
3 Afzaal Ahmad Zeeshan 204
4 DamithSL 194
0 OriginalGriff 5,515
1 DamithSL 4,451
2 Maciej Los 3,902
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 5 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100