Please help me to write c program in order to calculate value as below:
1 + 3 + 4 + 6 + 7 + 9 + 10 + ...
My Email: [snipped]
math.man
0
Newbie Poster
Recommended Answers
Jump to PostThe C language supports mathematical operations. For instance
#include <stdio.h> int main () { int x = 1 + 2 + 3; printf ("%d\n", x); return 0; }
Will output
6
.I dont see an apparent pattern in your numbers so I'm not entirely …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.