Info C# program to Check leap Year Using Conditional Statement - this blog we have built from a few years ago and already very much information about gadgets that we convey and a lot of blog visitors
New Blog Techno News who are satisfied with the information, we will always try to update the latest information for you, first about Info C# program to Check leap Year Using Conditional Statement many already we collect data to make this article so you do not miss the news, please see:
Articles :
Info C# program to Check leap Year Using Conditional Statement
full Link :
Info C# program to Check leap Year Using Conditional Statement
Article Csharp,
Article programming,
Article programs,
You can also see our article on:
Info 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();}
articles Info C# program to Check leap Year Using Conditional Statement finished in discussion
hopefully the information we convey about Info C# program to Check leap Year Using Conditional Statement can benefit you in getting new knowledge about technology,
you just finished reading the information Info C# program to Check leap Year Using Conditional Statement we hope this informmation can answer the question you submit to googlle, if you want to bookmark or share please use link https://moymoycikukecik.blogspot.com/2013/12/info-c-program-to-check-leap-year-using.html and do not forget to always visit this blog to get the latest information every day.
Tag :
Csharp,
programming,
programs,
0 komentar:
Posting Komentar