Skip to content

The examples below show you how to write function accum: Examples: accum("abcd"); // output: "A-Bb-Ccc-Dddd" accum("RqaEzty"); // output: "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy" accum("cwAt"); // output: "C-Ww-Aaa-Tttt" The parameter of accum is a string which includes only letters from a..z and A..Z.

License

Notifications You must be signed in to change notification settings

aregowe/Simple-Accum-Function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Simple-Accum-Function

The examples below show you how to write function accum:

Examples:

accum("abcd"); // output: "A-Bb-Ccc-Dddd" accum("RqaEzty"); // output: "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy" accum("cwAt"); // output: "C-Ww-Aaa-Tttt"

The parameter of accum is a string which includes only letters from a..z and A..Z.

About

The examples below show you how to write function accum: Examples: accum("abcd"); // output: "A-Bb-Ccc-Dddd" accum("RqaEzty"); // output: "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy" accum("cwAt"); // output: "C-Ww-Aaa-Tttt" The parameter of accum is a string which includes only letters from a..z and A..Z.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages