sum of all numbers in an array javascript
const arrSum = arr => arr.reduce((a,b) => a + b, 0)
sum of all numbers in an array javascript
const arrSum = arr => arr.reduce((a,b) => a + b, 0)
sum of 2 numbers in python
a = int(input("Enter first number:"))
b = int(input("Enter second number:"))
sum = a+b
print(sum)
sum of two numbers c++
#include<iostream>
using namespace std;
int main()
{
double number1,number2;
double sum0;
sum=number1+number2;
cout<<sum;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us