/javaStairCase

This program calculates total cubic centimeters needed for staircase through user inputs of steps, width, rise, and run. It calcuates the total number of steps needed through the formula 𝑠𝑢𝑚=𝑛(𝑛+1)2 and the cubic centimeters needed for one block. It takes the product of the two then rounds the final values to the nearest integer.

Primary LanguageJava

This repository is not active