Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. Nk301lll

    wants help in a c program made by use of arrays and function

    #include <stdio.h> double calculateSum(double age[]) { double sum = 0.0; for (int i = 0; i < 7; ++i) { sum += age; } return sum;//wants return sum from this function } int main() { double result, age[7]; printf("Enter seven numbers: "); for(int i=0;i<7;++i) {...
Back
Top Bottom