#include
using namespace std;
int main()
{
int numberOfElemenets = 10;
double myArray[numberOfElements] = {0.0};
double sum = 0;
for (int index = 0; index < numberOfElements; index++)
{
cout << "Enter " << (index + 1) << " number: ";
cin >> myArray[index];
}
for (int index = 0; index { sum += myArray[index]; } cout << "\nSum of all elements: " << sum << endl; cout << "Avarage is: " << (sum/numberOfElements) << endl; return 0; }
write a c program to accept a number and generate a square root cube and exponential values
fdsgfhgdfhgdf
program to find maximum of two numbers using pointers
VBnet program to find the prime numbers between 100 to 200?
Start accept 7 number calculate sum print sum stop
write a c program to accept a number and generate a square root cube and exponential values
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
How to write a program for mouse in microprocessor?
C programm
Write your program and if you are having a problem post it here with a description of the problem you are having. What you are asking is for someone to do your homework for you. no i am asking to verify my answer
dim a input a
write a lex program to delete space from the program
write an assembly language program to find sum of N numbers
you cant
write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html
fdsgfhgdfhgdf
program to find maximum of two numbers using pointers