I think the code is right, but why is the execution different?

Asked 1 weeks ago, Updated 1 weeks ago, 1 views

I'm practicing shooting stars, but I practiced on the top and copied the Internet code on the bottom, but why are the codes the same and the results different?

c#

2022-09-20 10:59

1 Answers

If you look closely, we used the WriteLine function in line 17, and we used the Write function in line 25.

Change the WriteLine function in line 17 to Write.


2022-09-20 10:59

If you have any answers or tips


© 2022 pinfo. All rights reserved.