Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
іфи
//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.
/Users/svetlanakanevskaa/Downloads/ACDB.sql
Cast int to enum in C#
PC/DDS Discussion
hihi
D112
default branch name
Hello
Binary search tree - Post-order Traversal
Least Common Multiple of 2 or more numbers.
Area of a field
stackse - search stackoverflow differently
Please log in to post a comment.