reset password
Author Message
jzunig20
Posts: 38
Posted 22:16 Mar 05, 2017 |

My code is extremely long for this problem like i mean very long, is that normal or is there some shorter way of making this program? i'm using else if statements and switches for this but its very very repetitive is anyone else using something different?

from 1-100 its approx 150 lines in my code so finishing up to 5000 i cant imagine how many more lines there will be hope someone can help

tkitcha
Posts: 19
Posted 22:23 Mar 05, 2017 |

I have about 200+ lines of code for this problem, so yeah it's normal.

Last edited by tkitcha at 22:45 Mar 05, 2017.
Arnav98
Posts: 48
Posted 23:41 Mar 05, 2017 |

I have just about 100 lines. So there is surely a shorter way to do it.

sdo8
Posts: 54
Posted 00:18 Mar 06, 2017 |

I have about 550 lines of code, so dont even trip haha