Anonymous

Write Java Program That Sum 1+x/1!+x^2/2!+x^3/3!+x^4/4!+?

1

1 Answers

Mwidini Kiombile Profile
Package sumseries;

import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
  int I, n;
    double sum=0;
Scanner scan = new Scanner(System.in);
System.out.println("Enter number of terms in your series");
n = scan.nextInt();
  for(I=0; I

Answer Question

Anonymous