| | |
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
Views: 1632 | Replies: 7
| Thread Tools | Search this Thread |
Tag cloud for C
#include adobe ansi array arrays asterisks binarysearch calculate centimeter char command convert copyimagefile cprogramme creafecopyofanytypeoffileinc directory dynamic fflush file fork forloop framework frequency functions getlasterror givemetehcodez grade graphics gtkgcurlcompiling hacking hardware highest homework inches incrementoperators kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. match matrix microsoft motherboard multi mysql number opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc process program programming radix recursion recv repetition research scanf scheduling scripting segmentationfault sequential shape socket socketprograming spoonfeeding stack standard string strings structures student systemcall testautomation threads turboc unix user variable voidmain() wab win32 windows.h



i got stuckd in a question 


