ALGORITHM AND FLOWCHART (PART-II)