| | |
Product Of Even numbers [HELP]
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
This will show the even integers between 2 and limit, then it is up to you to show the product:
c Syntax (Toggle Plain Text)
#include <stdio.h> int main() { int x; int limit = 30; for(x = 2; x <= limit; x=x+2) { printf("%d\n", x); } getchar(); // wait for enter return 0; }
drink her pretty
![]() |
Similar Threads
- that number 666 (Geeks' Lounge)
- Scalar product (Python)
- Product List and Order Form Submit (JavaScript / DHTML / AJAX)
- Help to create a unique forum (PHP)
- Wierd Numbers appear when trying to run a running product in a C++ program (C++)
- (Help) I have look at my book to many times and its not helping me! (Java)
Other Threads in the C Forum
- Previous Thread: A chal;lenging debugging problem : NEW
- Next Thread: 2D array allocation problem
| Thread Tools | Search this Thread |
* ansi api array arrays bash binarysearch calculate centimeter changingto char character convert copyanyfile copypdffile createcopyoffile createprocess() csyntax directory dynamic fflush file floatingpointvalidation fork forloop frequency getlasterror getlogicaldrivestrin givemetehcodez graphics gtkgcurlcompiling gtkwinlinux hardware highest homework i/o ide inches initialization intmain() iso km license linked linkedlist linux linuxsegmentationfault list logical_drives loopinsideloop. lowest match matrix microsoft motherboard mqqueue multi mysql oddnumber odf open opendocumentformat openwebfoundation pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scanf scheduling segmentationfault send shape single socketprogramming stack standard strchr string strings suggestions test testautomation unix urboc user variable whythiscodecausesegmentationfault win32api windows.h windowsapi



i got stuckd in a question 


