CS173: Intro to Computer Science - Strings (3 Points)

Developed by Professor Tralie and Professor Mongan.

Exercise Goals

The goals of this exercise are:
  1. To iterate over String variables.
Write a function that checks if two Strings are equal, by checking them character by character. Loop over all characters up to the length of the string, and obtain each character using the str1.charAt(i) or the str1.substring(i, i+1) method (and str2.charAt(i) or the str2.substring(i, i+1), for the other string, as well).
Welcome to our online modules system! Be sure to log in with your Urinus ID before you proceed. For example, Professor Tralie's ID is ctralie. If you are not an Ursinus student, that's fine! Just make something up, and you can still run everything