As noted above, this is HW but I'm hoping someone could help me find out what I'm doing wrong?
My entire code is posted below but my problem is that I seem to be printing out the "cout << "This is the similarity_score value inside my calcSimilarity(): " << similarity_score << endl;" portion twice when I only need it to print out once.
This part of the code is supposed to take in two separate DNA string sequences (i.e. "GCCGCCGT" and "GCCGCCGA", compare their lengths, find any mismatches between each indexed position, then go into some arithmetic to find their "similarity score". Once that is calculated, it should return that float value for later use.