C# program to Check leap Year Using Conditional Statement - we are grateful this blog
Full Specs Techno has been a few years can always provide useful information for you, because our goal is to advance your life with the latest technology knowledge that will make your life easier, now we will discuss first about C# program to Check leap Year Using Conditional Statement this information we build from various reliable sources that we collect specifically for you visitors of this blog, 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();}
so much information about C# program to Check leap Year Using Conditional Statement
hopefully the information we provide dengn title C# program to Check leap Year Using Conditional Statement can provide benefits for you in determining the gadget that suits your needs.
you just read the article C# program to Check leap Year Using Conditional Statement if you want to bookmark or share please use link https://fullcomicfrenzy.blogspot.com/2013/12/c-program-to-check-leap-year-using.html there is still a lot of information on this blog if you want to read it please visit other page, umpteen and thank you.
Tag :
Csharp,
programming,
programs,
0 komentar:
Post a Comment