Write a program to encrypt the data in a way that inputs a
four digit number and replace each digit
by (the sum of that digit plus 7) modulus 10. Then sweep the
first digit with the third, second digit
with the fourth and print the encrypted number.
No Answer is Posted For this Question
Be the First to Post Answer
What are the various arithmetic operators in c++?
Write a program which uses functions like strcmp(), strcpy()? etc
What do you mean by friend class & friend function in c++?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
What do you mean by global variables?
Define precondition and post-condition to a member function?
Explain what happens when a pointer is deleted twice?
What is c++ mutable?
What is a forward referencing and when should it be used?
How do you flush std cout?
What is this weird colon-member (" : ") syntax in the constructor?
3- Write a program to find larger and smaller of the two numbers.