Two-part Java Assignment - 54298

Request Posted by
mksxiii

mksxiii

Rating : No Rating
  • Requests:0
  • Solutions:0
Earned: $0
Request Detail
Price: $30
  • From: Computer Science, Engineering
  • Due on: Thu 03 Apr, 2014 (11:45am)
  • Asked on: Thu 03 Apr, 2014
  • Due date has passed, but you can still Post Solution.
Description

Hello :)

Is it possible for you to help me with the following assignment? :-
-------------------------------------
Assignment 5A: Write a program to count the number of lines of code in a file, excluding blanks and comments..

Requirements:
• The program should receive the location and name of the file through the command line, such as: your_executable target_code. If the file is in a different directory, specifying the correct path on target_code should work just as well.
• If the file cannot be found, a proper error message should be displayed.
• Count and report all lines of code in the file. Ignore blank lines (those containing only white space). Ignore comment lines as well. Remember that comments may start with /* and end with */ several lines below. Handle these cases as well.


Assignment 5B: Write a program to count the number of lines of code in a file, and in each of its procedures and functions, excluding blanks and comments..

 

requirements:

  • You may "improve" your program from assignment5A.
  • The output of your program should be a summary that indicates the total number of non-blank, non-comment lines in the file, and a list with the names of all procedures and functions on the file along with their number of lines.
  • All requirements from Assignment 5A should be met by Assignment 5B as well.

-------------------------------------

 

Preferrably it should be done in java.

just to be clear, I need two deliverables:

  • The code after Assignment 5A
  • The Modified code after Assignment 5B 


Thank you very much and I await you response

5 Solution for Two-part Java Assignment
Title Price Category solution By purchased  
Java File Handling Q5A, Q5B and test files and screenshots
$30.00 no category sarmad_junaid 1 time(s)
File Handling Q5B and test files and screenshots
$30.00 no category sarmad_junaid 1 time(s)
File Handling Q5A
$30.00 no category sarmad_junaid 1 time(s)
remaining part of assignment java
$10.00 no category student_helper 0 time(s)
Two-part Java Assignment
$20.00 no category student_helper 1 time(s)
Please Login or Register to Submit the Solution for the Request