daily pastebin goal
95%
SHARE
TWEET

program

a guest Jan 16th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace tp2
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             // int i, j;
  14.             //  i = 5;
  15.             //  j = 9;
  16.             Fraction f1 = new Fraction(3,4);
  17.             Fraction f2 = new Fraction(1,4);
  18.  
  19.  
  20.             if (f1 < f2) Console.WriteLine("3i4 < 1i4 ");
  21.             else Console.WriteLine("3i4 > 1i4");
  22.             Console.ReadKey();
  23.  
  24.         }
  25.     }
  26. }
RAW Paste Data
Top