Advertisement
radidim

(C# Shell App Paste)

Jul 9th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.57 KB | None | 0 0
  1. //Disclaimer: The creator of 'C# Shell (C# Offline Compiler)' is in no way responsible for the code posted by any user.
  2. namespace Program
  3. {
  4.     using System;
  5.    
  6.     public static class Proba
  7.     {
  8.         public static void Main()
  9.         {
  10.             // Declare some variables
  11.             float floatPI = 3.141592653589793238f; double doublePI = 3.141592653589793238;
  12.             // Print the results on the console
  13.             Console.WriteLine("Float PI is: " + floatPI);
  14.             Console.WriteLine("Double PI is: " + doublePI);
  15.            
  16.         }
  17.        
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement