عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 14-05-2010, 03:35 PM

galaxy55 galaxy55 غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Mar 2010
التخصص: cs
نوع الدراسة: إنتظام
المستوى: الثاني
الجنس: أنثى
المشاركات: 23
Skaau.com (10) سوال c++ماادري من وين مخترعينو


السلام عليكم ورحمه الله وبركاته
كل يومين يخرعولنا سوال جديد مدري من وين
حتى الفكره تعي تطلع معاينقرتين لعرض الصورة في صفحة مستقلةنقرتين لعرض الصورة في صفحة مستقلةنقرتين لعرض الصورة في صفحة مستقلة
-----------------
4- (Cryptography) A company wants to transmit data over the telephone, but is
concerned that its phones could be tapped. All of the data are transmitted as four-digi
integers. The company has asked you to write a program that encrypts the data so th
it can be transmitted more securely. Your program should read a four-digit integer an
encrypt it as follows: Replace each digit by (the sum of that digit plus 7) modulus 10.
Then, swap the first digit with the third, swap the second digit with the fourth and print
the encrypted integer. Write a separate program that inputs an encrypted four- digit
integer and decrypts it to form the original number.
-----------
دا السوال
اذا تكرمتو
رد مع اقتباس