Count pieces of circle after N cuts | Java program to find number of pieces of circle after N cuts ; Function to find number of pieces of circle after N cuts ; Driver program
import java . util . * ; class solution { static int countPieces ( int N ) { return 2 * N ; } public static void main ( String args [ ] ) { int N = 100 ; System . out . println ( countPieces ( N ) ) ; } }