This was a portfolio project for the Codecademy "Intro to IT course."
As this was my 1st time dealing with a flowchart I spent some time looking a round the internet for ideas on how to structure. I ultimately ended up just going with the flow. below is my flowchart.
Pseudo code was something I had only heard about probably 3 hours before posting this, so I spent some time googling and watching YouTube videos to get a better understanding, however I ended up using ChatGPT to write it out for me and I went through it to change some words up. Below is my Pseudocode.
PSEUDOCODE
START
Prompt user to enter some text
Store the input in a variable called text
Convert text to lowercase to ensure any variation of “the” is counted
Split the text into a list of words using spaces and punctuation as markers
Initialize a counter variable called count to 0
For each word in the list
If word is equal to "the"
Increase count by 1
End if
End for
Display the value of count as the result
End
In conclusion from what I found online and the outputs ChatGPT gave me I have a lot to learn and I look forward to improving. please leave and suggestions or advise you have for me in the comments.