Tuesday, December 3, 2013

Project 4

Project 4 //Description: This takes the users input, and will tell if its a Palindrome. #include <iostream.h> int const SIZE = 50; int ReadLine(char Pal[], int s); void PrintResults(char Pal[], int s, int actualSize); void main() { int downslope; char A[SIZE]; line = ReadLine(A, SIZE); PrintResults(A, SIZE, line); } int ReadLine(char Pal[], int s) { char ch; int actualSize = 0; cout<<"Input: "; cin.get(ch); fourth dimension ((ch != n) && actualSize <= s) { Pal[actualSize] = ch; actualSize = actualSize + 1; cin.
bestessaycheap.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays a   re written by professional writers!
get(ch); }// end while closed circuit return(actualSize); }//end ReadLine void PrintResults(char Pal[],int s, int actualSize) { for(int k=0; k<actualSize; k++) { cout<<endl<<endl; cout<<Pal[k]<<endl; int j = 0; if(Pal[j] = Pal[(actualSize-(j+1))]) { ...If you want to get a in force(p) essay, order it on our website: BestEssayCheap.com

If you want to get a full essay, visit our page: cheap essay

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.