CPPForSchool.com: String Set 1 Assignment 5

5. Write a program to compare two strings they are exact equal or not.

Strings are quite interesting to me because they are essentially just arrays with characters instead of numbers.  Nevertheless, I utilized the code from prior exercises along with creating an if/else condition to determine whether if the values in both character strings are the same.  Below is my source code and output.  For comparison, I have also included the sample source and output.












Comments

Popular posts from this blog

CPPForSchool.com: Variable, Operator & Expression Set 1: Assignment 9

CPPForSchool.com: Array - Single Dimension Set 1 Assignment 6

CPPForSchool.com: Variable, Operator & Expression Set 1: Assignment 8