抱歉給大家久等了,
希望我還來得及,不論如何這禮拜就要開始寫題目囉!
下禮拜驗收,還有就是使用visual c 2008 express 這樣大家debug才會一致。
參考書目 C how to program 4th
第三章 第46題
A company wants to transmit data over the telephone,but they are concernd that their phones may be tapped.All of their data is transmitted as four-digit integers.They have asked youto write a program that will encypt their data so that it may be transmitted more securely. Your program should read afour-digit integer and encrypt it as follows : Replace each digit by the remainder after (the sum of that digit plus 7)is divided by 10.Then swap the first digit with the third,and swap the second digit with the fourth.Then print the encrypted integer.Write a separate program that inputs an encrypted four-digit integer and decrypts it to form the original number.
就先寫這題吧。
看不懂題義問我。