❔ Some help with this problem that I'm working on
Hey! So i've got this problem where I'm trying to figure out the # of words that are not anagrams of other words in a list of words (read prompt). However, I can't seem to figure out why I'm in a pickle with my code --> how do i insert the lists into the console input
9 Replies
how do i insert the lists into the console inputCould you elaborate? Do you want to store user inputs in a list?
I'm just wondering if i'm taking in the list of the words correctly
I dont actually think i am taking in the words, and thus nothing is getting stored into the dictinoary, but I'm unsure as to how to implement it
Well, yeah, I don't see you taking any input from the user
Would the simplest way be to open up a console box with console.readline?
Yeah,
Console.ReadLine()
in a loop would be one way to go about it
Or a single readline with some word delimiter, like a comma, and then .Split(',')
Oki
I'll try working on that. thanks!
$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.