谁能帮我写一个字符替换的程序?
要求替换以下字符:
"A"替换为"f1,"
"B"替换为"f2,"
"C"替换为"f3,"
"D"替换为"f4,"
"E"替换为"f5,"
"F"替换为"f6,"
"G"替换为"f7,"
"H"替换为"c1,"
"I"替换为"c2,"
"J"替换为"c3,"
"K"替换为"c4,"
"L"替换为"c5,"
"M"替换为"c6,"
"N"替换为"c7,"
"O"替换为"d1,"
"P"替换为"d2,"
"Q"替换为"d3,"
"R"替换为"d4,"
"S"替换为"d5,"
"T"替换为"d6,"
"U"替换为"d7,"
"V"替换为"e1,"
"W"替换为"e2,"
"X"替换为"e3,"
"Y"替换为"e4,"
"Z"替换为"e5,"
请注意区分大小写.