Question in description | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Question in description

You are making a text encryptor. It should take multiple words and output a combined version, where each word is separated by a dollar sign $. For example, for the words "hello", "how", "are", "you", the output should be "$hello$how$are$you

quot;. The given code declares a class named Add, with a constructor that takes one rest parameter. Complete the code by adding a print() method to the class, which should generate the requested output.

22nd Apr 2022, 2:22 AM
Bugembe Eric
Bugembe Eric - avatar
1 Answer
+ 3
👉What is the question? 👉The task description says "***you*** are making a text encryptor". So what have you tried so far? I don't see any code here... 👉Please ***tag the relevant programming language***
22nd Apr 2022, 6:03 AM
Lisa
Lisa - avatar