Hello, coders. I have another puzzling code for ya (could be simple). Here I have an almost complete program. The issue I have is appointing:
"G is a vowel: 0"
"p is a vowel: 0"
I would really appreciate it if you could explain how this works. As you can see, I have everything set up but these values. Thank you for your time coders.
G and P are in your list. so they return 'true'. The computer does not know they are not vowels, it just knows you put them in the switch statement.
or are you asking something else?
Thank you for your feedback seeplus and jonnin. The program is asking when printing the value of a bool, true will be displayed as 1 and false will be displayed as 0.