Tech News World, Contacts Samsung Galaxy, Windows 8, Nokia Lumia, Quad Core Smart Phones, HTC smartphone, Google Nexus, MacBook, PayPal

Tuesday, December 3, 2013

C# program to Check leap Year Using Conditional Statement

C# program to Check leap Year Using Conditional Statement - Although I work in the office and a lot of work that makes me tired but still I make a blog Tech News World and still will update it for you because this is part of my hobby who likes the world of technology, especially about the gadget, now we will discuss first about C# program to Check leap Year Using Conditional Statement because it is the topic that you are now looking for, please refer to the information I provide in the guarantee for you,

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();}




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

hopefully information C# program to Check leap Year Using Conditional Statement can provide useful knowledge for you in getting information about the latest gadgets,

just finished your reading article about C# program to Check leap Year Using Conditional Statement if you feel this article useful for you please bookmark or share using link http://aziin5teens.blogspot.com/2013/12/c-program-to-check-leap-year-using.html for more people know

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

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

0 comments:

Post a Comment