id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

tmhscs@gmail.com competition > HPCW2020_01_Name
prev  |  next  |  chance

What's In a Name?
Problem 01
Worth 1 point

Without good communication skills, life will be more
challenging for you. And if you don't know how to do Input
and Output properly, the CodeWars competition will not
go well for you. So, here's your chance for a little practice
before the actual contest begins. Write a program to
introduce your team to someone by their first name.

Input
Input will consist of a single line with a single word that is
your new friend's first name.

Output
Welcome your new friend to CodeWars in the message format
shown below, including the name you received as input.

HPCW2020_01_Name("Harvey") → "Welcome to CodeWars, Harvey!"
HPCW2020_01_Name("John") → "Welcome to CodeWars, John!"
HPCW2020_01_Name("Chance") → "Welcome to CodeWars, Chance!"

...Save, Compile, Run (ctrl-enter)

public String HPCW2020_01_Name(String name) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Post-solution available

Copyright Nick Parlante 2017 - privacy