function to get the credit card type
in this photo a part of my code of the credit problem in cs50 course. I think I wrote it right but the matter is it does not want to print any thing and I had tried different solutions but it didn't work either so I hope I could find some one who can help me with it especially if they tried to solve this problem before. thanks in advance..