| | |
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 |
adobe ansi api array arrays bash binarysearch centimeter char convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic fflush file floatingpointvalidation fork frequency getlasterror getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling hardware highest homework i/o ide inches infiniteloop initialization interest kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql odf open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer pointers posix power probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling segmentationfault send shape single socketprograming socketprogramming stack standard strchr string strings structures suggestions systemcall test testautomation unix urboc user voidmain() wab win32api windows.h






