You are viewing a single comment's thread from:

RE: Day 644 - Teaching Kids Programming - Algorithm to Generate a String With Characters That Have Odd Counts

in #dtube3 years ago

!ask Write an algorithm to Generate a String With Characters That Have Odd Counts

Sort:  



1. Create a variable to hold the string
2. Create a loop to iterate over each character in the string
3. In each iteration, check if the character count is odd
4. If so, add it to the string created in step 1
5. Return the resulting string


command: !ask is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!.
!ask is currently based on ChatGPT-3.5

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.092
BTC 63050.19
ETH 1770.21
USDT 1.00
SBD 0.39