Lab CS-201 Week # 4 Problem Statement: #Include #Include Using Namespace STD
Lab CS-201 Week # 4 Problem Statement: #Include #Include Using Namespace STD
Week # 4
Problem Statement
Note: For comparing both these arrays, the size should be same.
#include <iostream>
#include <cstring>
// function definition
int check = 1;
int i = 0;
while(i<size){
if(arr1[i] != arr2[i]){
check = 0;
break;
}
i++;
if(check == 1)
else
int main() {
cin.getline(firstArray, sizeof(firstArray));
cin.getline(secondArray, sizeof(secondArray));
if(strlen(firstArray) == strlen(secondArray)){
else {
}
system("pause");