Must be done in javaConsider a frame of bowling pins shown below, where each *represents a pin:** ** * ** * * ** * * * *
There are 5 rows and a total of 15 pins.
If we had only the top 4 rows, then there would be a total of10 pins.
If we had only the top three rows, then there would be a totalof six pins.
If we had only the top two rows, then there would be a totalof three pins.
If we had only the top row, then there would be a total of onepin.
Write a program that takes as
PayPal Gateway not configured
PayPal Gateway not configured