Final Code without cout