Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Fórum ➡ DataTable #1's rows that are NOT present in DataTable #2 ♦
Enum, TryParse, cast to enum
Command design pattern
EricomQ9
England premiere league results last season
puzzle piezas
jkb
http://community.getvideostream.com/topic/67359/123-movie-watch-jurassic-world-dominion-online
Linked Lists
vera
Please log in to post a comment.