6 kyu

ASCII Fun #2: Funny Dots

503 of 1,505zruF

Description:

Funny Dots

You will get two integers n (width) and m (height) and your task is to draw the following pattern. Each line is seperated with a newline (\n)

Both integers are equal or greater than 1; no need to check for invalid parameters.

Examples


                                            +---+---+---+
             +---+                          | o | o | o |
dot(1, 1) => | o |            dot(3, 2) =>  +---+---+---+            
             +---+                          | o | o | o |
                                            +---+---+---+


Serie: ASCII Fun

ASCII Art

Stats:

CreatedMay 3, 2017
PublishedMay 3, 2017
Warriors Trained2422
Total Skips39
Total Code Submissions3459
Total Times Completed1505
JavaScript Completions503
CoffeeScript Completions10
Python Completions736
Ruby Completions57
Crystal Completions7
C Completions54
Go Completions44
Rust Completions51
C# Completions114
D Completions4
RISC-V Completions9
PHP Completions29
Total Stars39
% of votes with a positive feedback rating95% of 321
Total "Very Satisfied" Votes294
Total "Somewhat Satisfied" Votes24
Total "Not Satisfied" Votes3
Total Rank Assessments10
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • zruF Avatar
  • GiacomoSorbi Avatar
  • anter69 Avatar
  • donaldsebleung Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
  • yLaWy Avatar
  • NikCSharp Avatar
  • matteo-galletti Avatar
Ad