Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Sifruj
- {
- class Program
- {
- public string Sifruj(string text)
- {
- text = text.ToUpper();
- int pom = 0;
- for (int i = 0; i < text.Length; i++)
- {
- pom = 0;
- pom = 90 - (int)text[i];
- Console.WriteLine((char)pom);
- }
- return text;
- }
- static void Main(string[] args)
- {
- Program neco = new Program();
- neco.Sifruj("abcd");
- }
- }
- }
Add Comment
Please, Sign In to add comment