Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- static void Main(){
- var n=4;
- for(var row=0;row<n*2+2;row++){
- if(row==0){
- Console.Write(new string('-',n*2-1));
- Console.Write(new string("/|\"));
- Console.WriteLine(new string('-',n*2-1));
- }else if(row==1){
- Console.Write(new string('-',n*2-1));
- Console.Write(new string("\|/"));
- Console.WriteLine(new string('-',n*2-1));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement