Maxtron News, Android KitKat, stock firmware, Flash file, Lava iris, Ulefone Tiger, Mobile App, Marketing Tool, Infinix Stock Roms, Android Multi Tools Latest Version

C# program to Check leap Year Using Conditional Statement

C# program to Check leap Year Using Conditional Statement - for a long time we built this blog Maxtron News with the intention to advance the knowledge of the community about technological developments that continue to advance, because not everyone can enjoy the technology, so you will we present the technology news according to what you need, now we will discuss first about C# program to Check leap Year Using Conditional Statement please refer to the information we provide we feel quite complete because we summarize from reliable sources.

Articles : C# program to Check leap Year Using Conditional Statement
full Link : C# program to Check leap Year Using Conditional Statement
Article Csharp, Article programming, Article programs,

You can also see our article on:


C# program to Check leap Year Using Conditional Statement

C# program to Check Year is leap or not Using Conditional Statement 

Program Statement: 
Write a program using conditional operators to determine whether a year entered through the keyboard is a leap year or not.

Solution:
static void Main(string[] args)
{
int year;
Console.WriteLine("Enter Year");
year = Convert.ToInt32(Console.ReadLine());
Console.WriteLine( year % 4 == 0 ? "Entered year is leap" : "Not leap year");
Console.ReadLine();}




just so much information C# program to Check leap Year Using Conditional Statement

hopefully the article that we make this C# program to Check leap Year Using Conditional Statement can be useful for you in adding science about gadgets that continue to advance.

you just read the article with title C# program to Check leap Year Using Conditional Statement if you wish to bookmark or share it please use link https://katieandmaxtron.blogspot.com/2013/12/c-program-to-check-leap-year-using.html to get more information please visit our other blog page.

Tag : , , ,
Share on Facebook
Share on Twitter
Share on Google+

Related : C# program to Check leap Year Using Conditional Statement

0 komentar:

Posting Komentar