Aggregate a column and caluculate the sum

Hi Team,

I have a data table in which Column A can have duplicate numbers and if duplicate numbers are there. bot should calculate the total of Column C of all the ones with same Column A value and then keep only one line with the total value in Column C. Kindly advise what is the best approach to do this.

@Ajith209
Please share some sample input and output