daily pastebin goal
31%
SHARE
TWEET

simple calculations

Aliendreamer Jun 13th, 2018 (edited) 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3.  
  4.   public class Program
  5.     {
  6.         public static void Main(string[] args)
  7.         {
  8.           int n=int.Parse(Console.ReadLine());
  9.           for(int i=0;i<n;i++)
  10.           {
  11.             double a=double.Parse(Console.ReadLine());
  12.             double b=double.Parse(Console.ReadLine());
  13.             double result=Math.Round((a/b),???);
  14.             Console.WriteLine(result);
  15.           }    
  16.            //eто така е в цикъл но на мястото на ??? трябва да има нещо друго
  17.         }
  18.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top