Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* A PROGRAM TO FIND THE SUM OF THE FUNCTIONS ACCORDING TO THE INFORMATION GIVEN
- ON THE ELEMENTS */
- #include <iostream>
- using namespace std;
- int main()
- {
- cout << "A PROGRAM TO FIND THE SUM OF THE FUNCTIONS ACCORDING TO THE INFORMATION GIVEN ";
- cout << "ON THE ELEMENTS";
- cout << "\n";
- int n;
- cout << "give us number of elements : " << "\n";
- cin >> n;
- int a[n];
- int i;
- cout << " put the numbers : " << "\n";
- for (i=0 ; i<n ; i++)
- {
- cin >> a[i];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement