Computer Science, asked by madobisylt3, 1 month ago

Find the algorithm of the summation of the following series
1^3 + 3^3 + 5^3 + ⋯ + n^3

Answers

Answered by harshitrajputabc
0

dgdrcrcrlcug Gk g

rd LD the deruxtucfjctxrtzeydyxey rx

Answered by sure54
1
public class answer
{
public static void main(int n)
{
int i,p=0;
for(i=1:i<=n;i=i+2)
{
p=Math.pow(n,3);
sum=sum+p;
}
System.out.println(sum);
}
}


Type/Write the exact program and it will provide you with the sum of the above series.

Do Mark as Brainliest if you find it helpful!
Similar questions