8 kyu

Hello, Name or World!

15,603 of 34,635tadan

Description:

Define a method hello that returns "Hello, Name!" to a given name, or says Hello, World! if name is not given (or passed as an empty String).

Assuming that name is a String and it checks for user typos to return a name with a first capital letter (Xxxx).

Examples:

* With `name` = "john"  => return "Hello, John!"
* With `name` = "aliCE" => return "Hello, Alice!"
* With `name` not given 
  or `name` = ""        => return "Hello, World!"
Fundamentals

Stats:

CreatedSep 22, 2016
PublishedSep 22, 2016
Warriors Trained57156
Total Skips3200
Total Code Submissions142166
Total Times Completed34635
JavaScript Completions15603
Ruby Completions914
F# Completions170
Python Completions14539
Crystal Completions18
CoffeeScript Completions24
C Completions481
TypeScript Completions814
PHP Completions1452
Rust Completions697
C# Completions760
COBOL Completions19
Total Stars383
% of votes with a positive feedback rating89% of 3403
Total "Very Satisfied" Votes2769
Total "Somewhat Satisfied" Votes504
Total "Not Satisfied" Votes130
Total Rank Assessments116
Average Assessed Rank
7 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • tadan Avatar
  • Javatlacati Avatar
  • Unnamed Avatar
  • natan Avatar
  • suic Avatar
  • wichu Avatar
  • imjasonmiller Avatar
  • B1ts Avatar
  • Madjosz Avatar
  • rowcased Avatar
  • metagn Avatar
  • FArekkusu Avatar
  • a.kozhanov Avatar
  • KiparD Avatar
  • hobovsky Avatar
  • cliffstamp Avatar
  • ejini战神 Avatar
  • rge123 Avatar
  • akar-0 Avatar
  • dfhwze Avatar
  • SapphireSuicune Avatar
  • KayleighWasTaken Avatar
Ad