Computer Science, asked by snayak1659, 1 year ago

write a program that accept 100 integer values from the keyboard, then compute and display their sum?(hint use two dimensional array)

Answers

Answered by purnamahesh
1

Answer:

#include<iostream>

using namespace std;

int main(){

int arr[100],i;

long sum=0;

for(i=0;i<100;i++){

cin>>arr[i];

sum+=are[i];

}

cout<<"Sum : "<<sum<<endl;

}

Similar questions