|nope...i have my code here...but I'm not that confident if it's correct or not..I'm only a first year college student Major in Information technology..our teacher gave us a project which he did not taught us..in other words, we are the ones who are going to find it out..but I'm not that smart..that's why I'm asking questions here..I really thought this site could help..but instead it gave me a conclusion that I was about to cheat..|
I've already searched the net..but I'm having a hard time since I'm only a beginner..I found many answers on it..but i don't know how to analyze it since we're only taking the basic coding/programming in codeblocks..hope you understand..
here is my code:for encrypt and I don't know how to decrypt..can somebody help me with these?
using namespace std;
int code0, code1, code2, code3;
int sum1, sum2, sum3, sum4;
cout<<"\n\nEnter your First Number:\t";
cout<<"\n\nEnter your Second Number:\t";
cout<<"\n\nEnter your Third Number:\t";
cout<<"\n\nEnter your Fourth Number:\t";
cout<<"\nYour Code is:\t";
string case0 ("case2");
string case1 ("case3");
swap (case0, case1);
see?it's not correct...because a user should prompt a 4-digit number..mine is only 1..I dont know how to make it 4..:(