Skip to content

yaroslav-ometiukh/jv-daily-plan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

We are going to do a lot of tasks today! Let's write them out.

Implement a method createDailyPlan() that takes an array of string plans and returns a string displaying our daily plans as a list.

Rules:

the list should start with the words "My plans:"; each item is preceded by a new line ("\n") and its order number in the format like "1.) "; each item is followed by a semicolon. For example: plans = ["wake up", "have breakfast", "go to work", "solve 5 tasks from codewars"]

createDailyPlan(plans) ==> "My plans: 1.) wake up; 2.) have breakfast; 3.) go to work; 4.) solve 5 tasks from codewars;"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published