Recommended Answers
Jump to PostHi, try with this code:
private static void DrawABox( int x, int y, int width, int height,char Edge,string Message ) { int LastIndex =0 ; Console.SetCursorPosition(x, y); for ( int h_i = 0; h_i <= height ; h_i++ ) { if ( LastIndex != -1 ) { …
Jump to PostSince your screen is flat you can't draw a cube on it. You can draw a 2-D projection of a cube, which, depending on the angle of viewing, could look like a square. Thus he's given you the drawing of a cube.
Jump to Postit's usually best if you try to write the code yourself and then ask for help with specific problems you're having rather than trying to just get someone to do your homework for you
All 12 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.