Ca some one please help me with aC code to allow user enter
numbers from 1 to 20 without repeating and prnt the sum of
those numbers
thnx

Answer Posted / douglas

I so far have nothing

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pointer in c?

686


Do pointers store the address of value or the actual value of a variable?

614


What is the difference between abs() and fabs() functions?

611


Describe explain how arrays can be passed to a user defined function

609


How to declare pointer variables?

690






Write a program to swap two numbers without using third variable?

819


Explain how do you print only part of a string?

654


Write a code to generate a series where the next element is the sum of last k terms.

742


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1863


What are the two types of functions in c?

575


Explain bitwise shift operators?

635


Can you tell me how to check whether a linked list is circular?

781


What is an auto keyword in c?

648


Explain the use of keyword 'register' with respect to variables.

594


What is the significance of an algorithm to C programming?

598