Question: test cases: Create a function same_gmail that takes 2 input parameters g1 and g2, which are two valid gmail addresses. The function will return true

test cases:

Create a function same_gmail that takes 2 input parameters g1 and g2, which are two valid gmail addresses. The function will return true if both addresses map to the same gmail address and false otherwise. According to gmail - addresses are not case sensitive; dots don't matter: anybefore the and all characters after the'and before the 'are ignored. For example, "csc...2.1.2@gmail.com", "csc212@gmail.com"."CSC.212.@gmail.com", "CSC212@GMail.Com "csc212+announce@gmail.com", "csc.212+spring-2017@gmail.com" are all the same, i.e. ife-mails are sent to those addresses, they will reach the same gmail account. bool same gmail(const char *g1, const char *g2); GI-"ComPuTeRtt.science@gmail.com", G2-"c0mPutEr. G1"CSc...2.1.2@gmail.com", G"cSc212+announce@gmail.com" GI-"CSC212@GMail.com", G = "cse212@gmail.com" GI-.... 12312-@gmail.com", G2-"12312-t..@gmail.com" engineering@gmail.com
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
