Posted by eric on Friday, October 29, 2010 at 1:45pm.
You may find h elp under these tutorials:
http://search.yahoo.com/search?fr=mcafee&p=computer+programming+tutorial
Sra
Enter the line as a string, and scan character by character for quotation marks, '"'. Count the number of quotes you found. If the number is odd, echo the following characters, if the number of quotations is even, stop echoing.
In the example given:
She “does not” go to the “school” very often, but “she has to!”
you would start echoing after the first " and echo does not, and stop echoing until "school" when the same actions repeat.
Post your trial code if you have problems.
Related Questions
computer science - write a program that asks the user to enter today's sales...
C Programming - Write a program that prompts the user to enter a temperature, ...
computer science - write a program that asks the user to enter today's sales...
computer programming - : Create a program like KBC game show where program ask ...
Programming - Write a pseudocode program that asks the user for an integer ...
l;k - Write a program that asks the user to enter the students name (first...
computer science - I need to write a program that ask the student to enter an ...
computer science - You are required to use the Account class to simulate an ATM ...
Programming in c++ - Write a program in c++ that inputs a number [1-12] from the...
computer programming - Design a program that asks the user to enter a nonegative...
For Further Reading