sum of 5 odd number equal 50
Answers
Answer:
Sum of 5 odd number equal 50, 7 + 9 + 11 + 13 + 15 = 50
Step-by-step explanation:
From the above question,
They have given :
sum of 5 odd number equal 50
C PROGRAM
#include <stdio.h>
int main()
{
int num1 = 7;
int num2 = 9;
int num3 = 11;
int num4 = 13;
int num5 = 15;
int sum = num1 + num2 + num3 + num4 + num5;
printf("The sum of 5 odd numbers is: %d", sum);
return 0;
}
PYTHON PROGRAM
num1 = 7
num2 = 9
num3 = 11
num4 = 13
num5 = 15
sum = num1 + num2 + num3 + num4 + num5
print("The sum of 5 odd numbers is:", sum)
JAVA PROGRAM
public class Main {
public static void main(String[] args) {
int num1 = 7;
int num2 = 9;
int num3 = 11;
int num4 = 13;
int num5 = 15;
int sum = num1 + num2 + num3 + num4 + num5;
System.out.println("The sum of 5 odd numbers is: " + sum);
}
}
For more such related questions : https://brainly.in/question/10593754
#SPJ3
Step-by-step explanation:
Given:sum of 5 odd number equal 50
we have to verify the given statement.
For this,we know the formula,
Sum of n odd numbers like,
Sn=1+3+5+.................+(2n-1)
Sn=n²
where n=the numbers of terms upto what the sum has to be found out.
Now,for the given question, let's take a series of odd numbers,and see if it is right or not.
First 5 odd numbers are:1,3,5, 7, 9
Sum=1+3+5+7+9=25
Implies that the formula is right.
Also, implies that the given statement in the question is not right,as the sum is given 50 and 50 is not a perfect square.
For more such questions:-https://brainly.in/question/22312827
#SPJ2