Question: C code to... Count and compute: number of total lines number and percentage of blank lines number and percentage of comments (start with // or
C code to...
Count and compute:
-
number of total lines
-
number and percentage of blank lines
-
number and percentage of comments (start with // or /*)
-
number and percentages of ints, longs, floats, doubles, char
-
number and percentages of if's
-
number and percentage of else's
-
number and percentage of for's
-
number and percentage of switch
-
number and percentage of semicolons
-
number and percentage of structs
-
number and percentage of arrays (contains [ or ], divide count by 2)
-
number of blocks (contains { or }, divide count by 2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
