C# program to Check leap Year Using Conditional Statement - a lot of websites that discuss information about gadgets, including this blog
Fun Gadget World we discuss all the information from various brands of gadgets, from the old to the latest, which is very dear if you miss, now we discuss first about C# program to Check leap Year Using Conditional Statement we have collect lots of data to create this article so that you get complete information, so please read it:
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();}
information C# program to Check leap Year Using Conditional Statement has been completed in the discussion
hopefully the information C# program to Check leap Year Using Conditional Statement can be useful for you in looking for references about technology gadgets,
you just finished reading information about C# program to Check leap Year Using Conditional Statement if you want to bookmark or share this link please use link https://indiafunworld.blogspot.com/2013/12/c-program-to-check-leap-year-using.html please also visit to other page to get more information.
Tag :
Csharp,
programming,
programs,
0 komentar:
Posting Komentar