Category : user-defined-functions

i made this program to make a function to check if integar array is palindrome or not.it is always giving output that it is not a palidrome on every input. can you plz help me out? code: #include<iostream> using namespace std; void palindrome(int[],int[],int); int main() { int size=5; int array1[size]; int array2[size]; palindrome(array1,array2,size); } void ..

Read more

Like the title states I am looking to build a function that returns a printed box of characters. The box should be as wide as the cin >> number . Heres what ive got goin on what kind of variables am i looking at here and whats my definition going to look like? any insight ..

Read more