I'm trying to create a simple code that would transform standard sentences into interrogative sentences. I’m not sure how easy or hard it is to create such a code and was wondering if such code or a similar code already exists.
The code I'm looking for would do this:
EX: The sky is blue --> Is the sky blue?
I’m very novice to programming, so any suggestions and tips will be welcome

sjoeh girl, thats some hard work. Rather you than me. If i were you i would create a list with words like 'what' 'where' who' 'how' 'is' 'are' things like that, and then try to find one of these words in a sentence - declare it as a variable, and start the sentence with that variable. If there was 2 of those words i don't know what to do :/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.