Answers for "c++ to mips converter online"

C++
0

c++ to mips converter online

#include <iostream> 
 
using namespace std; 
 
int main() 
{ 
    int i,arr[10],sum=0; 
 
    cout<<"Enter 10 elements:"; 
    for(i=0;i<10;++i) 
        cin>>arr[i]; 
 
    for(i=0;i<10;++i) 
        sum=sum+arr[i]; 
    cout<<"Sum of numbers is:"<<sum; 
 
    return 0; 
}
Posted by: Guest on June-11-2021

Code answers related to "c++ to mips converter online"

Browse Popular Code Answers by Language