Write a C++ program to generate 10 integer numbers between -
1000 and 1000, then store the summation of the odd positive
numbers in variable call it sum_pos, then find the maximum
digit in this variable regardless of its digits length.
No Answer is Posted For this Question
Be the First to Post Answer
Explain how do you determine the length of a string value that was stored in a variable?
while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
What are the string functions? List some string functions available in c.
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
How can I read a directory in a c program?
program to find the roots of a quardratic equation
How can I run c program?
How does variable declaration affect memory?
What is variable and explain rules to declare variable in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }