Implementation of the logic

Please provide a code for the implementation of the ;price used in the video

hello @granthdhir

check this->