Techno Aspirations, Apple iPhone, SAMSUNG, Motorola Moto, Secret Codes, price, specifications, Samsung Galaxy, Clone Huawei, Flash File, Google LG Nexus

C# program to Check leap Year Using Conditional Statement

C# program to Check leap Year Using Conditional Statement - hello friends are you looking for information related to technology? ... if yes ... then you are right to come to blog Techno Aspirations because here we will display information about the latest gadgets or old ones though, well now we will discuss first about C# program to Check leap Year Using Conditional Statement as you are looking for, hopefully the information we will convey can answer your question to google, please see.

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 about C# program to Check leap Year Using Conditional Statement

hopefully the information we provide about C# program to Check leap Year Using Conditional Statement can give answer your question to google, and you feel satisfied about this.

you just finished reading the article with the title C# program to Check leap Year Using Conditional Statement if you feel this information need to bookmark or share please use link https://faultyaspirations.blogspot.com/2013/12/c-program-to-check-leap-year-using.html do not forget there are many other information in this blog, please visit other 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