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
Similar Kata:
Stats:
Created | May 3, 2017 |
Published | May 3, 2017 |
Warriors Trained | 2422 |
Total Skips | 39 |
Total Code Submissions | 3459 |
Total Times Completed | 1505 |
JavaScript Completions | 503 |
CoffeeScript Completions | 10 |
Python Completions | 736 |
Ruby Completions | 57 |
Crystal Completions | 7 |
C Completions | 54 |
Go Completions | 44 |
Rust Completions | 51 |
C# Completions | 114 |
D Completions | 4 |
RISC-V Completions | 9 |
PHP Completions | 29 |
Total Stars | 39 |
% of votes with a positive feedback rating | 95% of 321 |
Total "Very Satisfied" Votes | 294 |
Total "Somewhat Satisfied" Votes | 24 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 10 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |