Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@sbiewald Inconsistent brace positioning and indentation, starting for-loops at 1, and having a superfluous inner for-loop - all of that in so few lines of code.
However, I'd guess the culprit was that the program expects input without explicitely prompting the user for that so that running it will lead to nothing until you enter a number. -
Did you copy paste the lines you wrote in the terminal from somewhere?
Did you try running the program you compiled? -
also have been impressed by vs code for python and node
But c# don’t seem to like it
I was stuck at this error for the 4-6 days.. Did lots of research on stackoverflow, Google, YT.. Asked my peers tried like hell. Finally one of friends told me you aren't giving I/p and how can you expect an o/p there is no error neither in the compiler nor in the code..
Me: ;_;
random