fharookshaik / fibonacci-series

This repository is to write program the famous Fibonacci series in as many different programming languages as we can.
MIT License
20 stars 101 forks source link

code enhancement #70

Closed dbc2201 closed 2 years ago

dbc2201 commented 2 years ago

add comments for code, using TryParse() method to parse input from string to int, basic input validation, print the fibonacci series

dbc2201 commented 2 years ago

Hi, could someone please help me figure out what checks have failed and how to correct it?

fharookshaik commented 2 years ago

image

Refer to these errors raised by Codacy

dbc2201 commented 2 years ago

Hi @fharookshaik,
I'll surely remove those commented out lines, but how do I print the series without the Console.Writeline() statements?