calc_description

Description of what this calulator will do.
var_totalWidth

Decalred variable and initialized user prompt.
comment_var_totalWidth

Description of what this line of code does.
var_target

Declare variable and initiate user prompt.
comment_var_target

Description of what this line of code does.
function_calcPercent

Declared and defined function.
comment_function_calcPercent

Description of what these lines of code do.
function_calcPercent

Changed parameter names to be clearer.
var_percent

Declared result variable, called and passed arguments to function.
comment_var_percent

Description of what this line of code does.
1st_if_statement

Set conditions for the first if statement.
comment_1st_if

Description of what this line of code does.
1st_if_codeblock

Code to be performed if conditions are true.
comment_1st_if_codeblock

Description of what this line of code does.
elseif_1

Set condition for first elseif statement
comment_elseif_1

Description of what this line of code does.
elseif_1_console

Print out to console if conditions are true.
comment_elseif_1_console

Description of what this line of code does.
elseif_2

Set conditions on second elseif statement.
comment_elseif_2

Description of what these line of code do.