Write a program in Java to display the series: 1 – 2/3 + 4/5-6/7 unto nth term
Answers
Answered by
363
public class Demo
public static void main(String args[])
for(int i = 1; i < 8; i++)
System.out.print((int)Math.pow(2, i)+" ");
Explanation:
Hope it will helps you
Similar questions
Social Sciences,
13 hours ago
English,
1 day ago
Science,
8 months ago
Math,
8 months ago
English,
8 months ago