| | |
help needed
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Apr 2009
Posts: 1
Reputation:
Solved Threads: 0
Hi Guyz,
There is two questions please help out in making program.
Q)write a program using conditional operators to determine whether a year entered through the keyboard is a leap year or not.
Q)write a program to print out all Armstrong numbers between 1 and 500.if sum af cubes of digits of the number is equal to the number it self,then the number is called an Armstrong number. For example,153=(1*1*1)+(5*5*5)+(3*3*3).
There is two questions please help out in making program.
Q)write a program using conditional operators to determine whether a year entered through the keyboard is a leap year or not.
Q)write a program to print out all Armstrong numbers between 1 and 500.if sum af cubes of digits of the number is equal to the number it self,then the number is called an Armstrong number. For example,153=(1*1*1)+(5*5*5)+(3*3*3).
Last edited by saramv; Apr 5th, 2009 at 11:51 am.
Post the code, whatever you have tried.
We only give homework help to those who show effort
http://www.daniweb.com/forums/announcement118-2.html
We only give homework help to those who show effort
http://www.daniweb.com/forums/announcement118-2.html
![]() |
Similar Threads
- Harddrive failure and 100% CPU under Win2K, Help Needed! (Windows NT / 2000 / XP)
- XP PRO iis help needed (Windows NT / 2000 / XP)
- CWS. help needed (Viruses, Spyware and other Nasties)
- are all these needed (Windows NT / 2000 / XP)
- help much needed !! (OS X)
Other Threads in the C Forum
- Previous Thread: Redirecting input into my C program from a file. How to even start?
- Next Thread: char** for string array problem
| Thread Tools | Search this Thread |
#include * ansi array arrays asterisks bash binarysearch calculate centimeter changingto char character convert copyanyfile copyimagefile creafecopyofanytypeoffileinc createprocess() database dynamic execv fgets file floatingpointvalidation fork framework function getlogicaldrivestrin givemetehcodez grade gtkwinlinux histogram ide inches include infiniteloop initialization input interest intmain() iso keyboard km license linked linkedlist linux list looping lowest matrix meter microsoft number oddnumber open opendocumentformat openwebfoundation owf pdf pointer pointers posix power probleminc process program programming pyramidusingturboccodes radix read recursion recv recvblocked research reversing scheduling segmentationfault send sequential single socket socketprogramming standard strchr string suggestions systemcall test testautomation testing threads turboc unix urboc user variable whythiscodecausesegmentationfault win32api windowsapi






