Question
please help with C++ Consider the series of numbers beginning at user-specified start and running up to but not including user-specified end, so for example
please help with C++ Consider the series of numbers beginning at user-specified start and running up to but not including user-specified end, so for example start=1 and end=5 gives the series 1, 2, 3, 4. Return a new string[] array containing the string form of these numbers (e.g. "one", "two", "fifty-three" etc., except for multiples of 3, use "Cat" instead of the number, for multiples of 7 use "Dog", and for multiples of both 3 and 7 use "CatDog". For the series above, the returned array would be: "one", "two", "Cat", "four". Test with numbers from -10 to 110. Write your string array to a file named YourNameCatDog.txt - one value at a time. turn in commented code with pseudocode. This project tests: algorithm design functions arrays strings loops conditionals pseudocode / flowchart user interface design testing strings input validation
Input start Number Input end Number Is Cat? write Cat to file OD OD write number word to file Is Dog? write Dog to fileStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started