please send me the letter urgently
Attachments:
Answers
Answered by
0
Answer:
a java program to print sum of cubes of odd nos between 1 and 10
class Oddsum
{
public static void main(String args[ ])
{
int sum=0;
for(int i=1;i<10;i++)
{
if(i℅2==1)
sum=sum+i*i*i;
}
System.out.println("sum="+sum);
}
}
Explanation:
Similar questions
Math,
22 hours ago
Biology,
22 hours ago
Math,
22 hours ago
Math,
1 day ago
Social Sciences,
8 months ago
Social Sciences,
8 months ago
Science,
8 months ago