# there isnt any errors and it runs perfectly but i remember doing C# and having a similar task but there was a more efficient way to go about this