Question about Computers & Internet
See the Following Program
Def: A year is a century year if it is divisible by 100.
Def: A year is a non-century year if it is not a century year.
Def: A year is a leap year if it is a non-century year that is divisible by 4, or a century year that is divisible by 400. Nothing else is a leap year.
In a source file named leapyears.cpp, write a program that will prompt the user for the starting year and ending year for a range of years and print to the screen all leap years in that range, 5 years per line. You must write a separate function called isLeapYear that takes a year as a parameter and returns whether or not that year is a leap year. Your main function will call the isLeapYear function in a loop for every year within the range delineated by, and including, the starting and ending years.
Help with Code Tags c Syntax (Toggle Plain Text)
The One More Sample Of the Program
C program to check whether a year is a leap year or not.
Code: C /*
** C program to check whether an entered year is a leap year or not
** @author: Pradeep
** @date: 02/12/06
printf("Enter the year: ");
** The logic is that the year is either divisible by both
** 100 and 4 , OR its only divisible by 4 not by hundred
if(year%400 ==0 || (year%100 != 0 && year%4 == 0))
printf("Year %d is a leap year",year);
printf("Year %d is not a leap year",year);
If Not Satisfied Just put the Program name in Google and Search
Posted on Sep 12, 2008
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
So you decided not to jump from Windows XP to Windows VISTA. but now you're ready to LEAP forward into Windows 7.
First, you will want to BACKUP ALL of your programs.
Since you did not upgrade to VISTA, you will LOOSE all of your programs when you upgrade to Windows 7, so be sure to backup all of your programs and files.
If you wish, you can use an external hard drive and a program called WINDOWS EASY TRANSFER to make this task easier.
See the link below for this FREE program.
Now, for the fun part! Insert the Windows 7 disc into the computer and start or restart the computer.
Follow the onscreen instructions to completely install Windows 7.
You will now need to reinstall each of your programs.
If you used Windows Easy Transfer, you can use the list of programs that it prints out to be certain that you reinstall all of your programs.
Hope this helps.
Dec 01, 2012 | Microsoft Windows XP Home Edition
May 20, 2011 | Computers & Internet
Mar 18, 2011 | Computers & Internet
Feb 01, 2011 | Computers & Internet
Nov 26, 2010 | Microsoft Windows XP Professional
Feb 27, 2010 | Computers & Internet
Feb 23, 2010 | Linspire My First LeapPad Pen: LeapFrog
Nov 16, 2009 | Linspire My First LeapPad Pen: LeapFrog
153 people viewed this question
Usually answered in minutes!