C# program to Check leap Year Using Conditional Statement - we should be concerned about the technology that continues to grow, because the technology is created to facilitate our lives, with technology we can do any job faster so save time and money, ok on the blog
Techno News Latest we will discuss a variety of new technologies that continue to grow, now we will membahs first about C# program to Check leap Year Using Conditional Statement please see to finish:
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 discussed
hopefully the information we have provided with the title C# program to Check leap Year Using Conditional Statement can provide more knowledge for you in determining the choice of gadget that suits your needs.
you just finished reading the article C# program to Check leap Year Using Conditional Statement if you think this information is worth to book mark or share please use link https://puriagatsari.blogspot.com/2013/12/c-program-to-check-leap-year-using.html to get more information about gadget please visit other pages on this blog, thank you.
Tag :
Csharp,
programming,
programs,
0 komentar:
Posting Komentar