What is the output of the following programs?
#include
using namespace std;
int main()
{
double sum = 0.0;
double price[5] ={0,10.5,20.0,30.0,40.0};
int i;
for(i=0; i<5; i++)
sum += price[i];
cout<<"\n sum ="<
return 0;
}
Answers
Answered by
1
hmm.....................
Similar questions