Write the output for the following
a. int j,f=0;
for( j=1;j<=10;j+=2)
f=f+j;
System.out.println(“Sum=”+f);
System.out.println(j+10);
Answers
Answered by
1
Answer:
a. int j,f=0;
for( j=1;j<=10;j+=2)
f=f+j;
System.out.println(“Sum=”+f);
System.out.println(j+10)
Similar questions
Environmental Sciences,
20 days ago
Math,
1 month ago
Chemistry,
9 months ago
Math,
9 months ago
Biology,
9 months ago