Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
іфи
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here //&& і || або double d; Console.WriteLine(" напиши число :" ); d=Convert.ToDouble(Console.ReadLine()); Console.WriteLine(" число таки є "+d); if (d>10) Console.WriteLine("більше 10" ); else if(d<5) Console.WriteLine("менше 5"); else if(d<10&& d>5) Console.WriteLine("менше 10 більше 5 а саме:"+d); else if (d==6.5){ d-=0.5; Console.WriteLine(" число: "+ d);} else Console.WriteLine(" число: "+ d); } } }
run
|
edit
|
history
|
help
0
Поле дураков
Math 10.0 (Added no repeat random numbers)
Interface constraints in generics
C# first code
Intuit // C# // listing_4.3 (StreamWriter // @"c:\Temp\output.txt")
asxs
EFC AZAAAA
IEnumerable<T> generic interface implementation
Fórum ➡ Filling in a DataTable from a list of KVP's ♦
Palindrome 2