Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //קלט
- //פלט אתמול
- // int day2;
- // Console.WriteLine("קלוט תאריך , יום וחודש");
- // int year = int.Parse(Console.ReadLine());
- // int day = int.Parse(Console.ReadLine());
- // int month = int.Parse(Console.ReadLine());
- // day2 = day - 1;
- // Console.WriteLine(day2+"."+month+"."+year);
- // קלט: סיסמא
- // פלט: מספר מוצפן
- // int num, a, b, c, d;
- // Console.WriteLine("הקלד סיסמא בת 4 ספרות");
- // num = int.Parse(Console.ReadLine());
- // a = num / 1000;
- // b = num / 100 % 10;
- // c = num / 10 % 10;
- // d = num % 10;
- // if (a % 2 != 0)
- // a = a - 1;
- // if (b % 2 != 0)
- // b = b - 1;
- // if (c % 2 != 0)
- // c = c - 1;
- // if (d % 2 != 0)
- // d = d - 1;
- // Console.WriteLine(a + "" + b + "" + c + "" + d);
- //קלט מספר טפסים
- // פלט מספר שעות ודקות + שכר
- // Console.WriteLine("press");
- //int pw = int.Parse(Console.ReadLine());
- //int wt = pw * 10;
- //int Hwt = wt / 60;
- //int Mwt = wt % 60;
- //double pay = pw * 6.3;
- //Console.WriteLine(Hwt+"and"+Mwt);
- //Console.WriteLine(pay);
- // קלט: סכום כסף עודף
- //פלט: סך כל המטבעות ו כמה מטבעות מכל אחד
- //Console.WriteLine("press money");
- //int a = int.Parse(Console.ReadLine());
- //int a10 = a / 10;
- //int a5 = (a % 10) / 5;
- //int a1 = (a%5);
- //Console.WriteLine(a1+"of 1"+a5+"of 5"+a10+"of 10");
- //Console.WriteLine(a1 + a5 + a10+"סך כל המטבעות");
- //a = int.Parse(Console.ReadLine());
- //b = int.Parse(Console.ReadLine());
- //Console.WriteLine("a=" + a + "b=" + b);
- //int c = a;
- //a = b;
- //b = c;
- //Console.WriteLine("a=" + a + "b=" + b);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement