Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ForLesson15
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine( Converted(10,10));
- }
- static int Converted (int i, int j)
- {
- if(i==j)
- {
- return i=-(i);
- }
- else
- {
- return i;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment