Advertisement
fahimkamal63

Display series and it's sum

Sep 21st, 2019
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. /**
  2.  * Display series and it's sum
  3.  * Date : 21.09.19
  4.  */
  5. package display.series.and.it.s.sum;
  6.  
  7. import java.util.Scanner;
  8.  
  9. /**
  10.  *
  11.  * @author Fahim
  12.  */
  13. public class DisplaySeriresAndItSSum {
  14.  
  15.     /**
  16.      * @param args the command line arguments
  17.      */
  18.     public static void main(String[] args) {
  19.         Scanner input = new Scanner(System.in);
  20.         System.out.print("Enter The range of series: ");
  21.         int n = input.nextInt();
  22.        
  23.         new Series(n).run();
  24.     }
  25.    
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement