- 4

Worst at solo learn

ok so I want to find out who's the worst at solo learn so they can get help :). upload any of your saved work in your arsenal and whoever gets the least likes (can be - for example. -50000)

24th Jun 2017, 6:27 PM
Rambo Plays
Rambo Plays - avatar
8 Answers
24th Jun 2017, 6:49 PM
Rrestoring faith
Rrestoring faith - avatar
+ 2
On codeplayground the lines probably go off the edge and moves to the next line. That could one of your issues, where the width of the output is to long to look nice in the console. What was the output supposed to look like?
24th Jun 2017, 7:52 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
It even shows on "me" @Rrestoring faith 😂
24th Jun 2017, 7:12 PM
Limitless
Limitless - avatar
+ 1
The console still never moves to the next line properly. In the for loop where your printing add a blank Console.WriteLine() to move to the next line after the x's are finished printing. It looks like that solves most of the problem. Like this: for(.....){ for(.....blahblah){ if(grid[y,x]){ Console.Write("*"); { else{ Console.Write("."); } } Console.WriteLine(); }
25th Jun 2017, 5:28 AM
Rrestoring faith
Rrestoring faith - avatar
0
But since you are offering your help I'm having a problem with my code: I created a function class that runs a Math function and returns an array of strings. Then the idea is that when I want to show it to the user it needs to be shown on a graph. But because we can't use GUI interfaces I decided to use * and . to make the graphs visible. But it's not working 😂 https://code.sololearn.com/cyXXtiv2560F/?ref=app
24th Jun 2017, 7:17 PM
Limitless
Limitless - avatar
0
I calculated it and it was 40 characters So I made a 40 by 40 grid
24th Jun 2017, 8:25 PM
Limitless
Limitless - avatar
0
So, it's just supposed to be a straight line (*) from the left bottom to right top
24th Jun 2017, 8:29 PM
Limitless
Limitless - avatar
0
It will be a bit to the right of the corner tho
24th Jun 2017, 8:30 PM
Limitless
Limitless - avatar