Write a declaration statement for two double variables named
Write a declaration statement for two double variables, named x, and x sum. Write a declaration statement for two integers, named n, and n_count. write the syntax for a for loop that executes while the counting variable increases from 0 to 4, with increments of 1. (use n_count as the counting variable and n_count
Solution
1)
double x,xsum;
2)
int n,n_count;
3)
for(n_count=0;n_count<5;n_count++)
{
....
}
