C++ Source Code needed for a Borland 5.02 Compiler
$30-5000 USD
Terminado
Publicado hace alrededor de 22 años
$30-5000 USD
Pagado a la entrega
I have a pseudocode below with requirements, I need a source code written to accompany it. The source code MUST compile error free and execute on a Borland version 5.02 compiler. Purpose: The purpose of this assignment is to use Pointers and Strings. Assignment: Using the pseudocode below write a program for it. Your main function will prompt the user to enter a short message of at most 25 characters, and input the message using [login to view URL]( ). The program will then call a function you will write, reverse, to store the string with the characters reversed in a second string. The main function will append the string " BACKWARDS" to the end of the reversed string and finally display it. LAST HINT: You will need two functions included in string.h, strlen and strcat. Run the program, and paste sample output into your source code in a comment block following your program. Heres what I need emailed to me As soon as possible: 1. C++ source code with complete sample output copied and pasted at the bottom of your source code in a comment block. Include appropriate blank lines, indentation and comment statements in your source code. Pseudocode int main( ) ...1. do .......a. Prompt user for message up to 25 characters long .......b. Input message into str1 .......c. reverse(str1, str2) .......d. append " BACKWARDS" to end of str2 .......e. Display str2 ...2. while (*str1!='q' && *str2!='Q') ...3. return 0 void reverse(char *ptr1, char *ptr2) ...1. Increment ptr2 by length of ptr1 ...2. Store NULL in contents of ptr2 and decrement ptr2 ...3. Loop while (*ptr1) .......a. *ptr2-- = *ptr1++ ...4. return
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
Has to compile on a Borland 5.02 compiler
## Deadline information
I need it before Monday evening