SHARE
TWEET

Untitled

AlexeySudakov Jul 17th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ///1.3.6.3
  2.  
  3. using System;
  4.  
  5. namespace homework
  6. {
  7.     class Program
  8.     {
  9.         public static void Main(string[] args)
  10.         {
  11.             Console.WriteLine(SomeMul(10.67f, 15.78f ));
  12.             Console.Write("Press any key to continue . . . ");
  13.             Console.ReadKey(true);
  14.         }
  15.        
  16.         public static int SomeMul (int first, int second)
  17.         {
  18.             int rezultat = first * second;
  19.             return rezultat;
  20.         }
  21.        
  22.         public static float SomeMul (float first, float second)
  23.         {
  24.             float rezultat = first * second;
  25.             return rezultat;
  26.         }
  27.     }
  28. }
RAW Paste Data
Top