ACS712 20A with ADS1115

I made a PCB to sense currents. I used two ADS1115 and four ACS712 is connected to each ADS1115, so total 8 ACS712 is built in. So by I2C communication, It will sense current which is flowing to each part of robot. But I’m confused with coding in Arduino. I’m using an Arduino DUE. Each ADS1115’s address is assigned to 0x48, 0x49. And ACS712 is for less than 20A. Can you let me know how to code this?

#include <Wire.h>
#include <Adafruit_ADS1015.h>
Adafruit_ADS1115 ads1115_1(0x48);
Adafruit_ADS1115 ads1115_2(0x49);
int mVperAmp=100;
int ACSoffset=2500;
double RawValue_1, RawValue_2, RawValue_3, RawValue_4, RawValue_5, RawValue_6, RawValue_7, RawValue_8=0;
double Voltage_ACS_1,Voltage_ACS_2,Voltage_ACS_3,Voltage_ACS_4,Voltage_ACS_5,Voltage_ACS_6,Voltage_ACS_7,Voltage_ACS_8=0;
double Amps_1,Amps_2,Amps_3,Amps_4,Amps_5,Amps_6,Amps_7,Amps_8=0;
void setup() {
ads1115_1.begin();
ads1115_2.begin();
Serial.begin(9600);
}

void loop() {
RawValue_1=ads1115_1.readADC_SingleEnded(0);
RawValue_2=ads1115_1.readADC_SingleEnded(1);
RawValue_3=ads1115_1.readADC_SingleEnded(2);
RawValue_4=ads1115_1.readADC_SingleEnded(3);
RawValue_5=ads1115_2.readADC_SingleEnded(0);
RawValue_6=ads1115_2.readADC_SingleEnded(1);
RawValue_7=ads1115_2.readADC_SingleEnded(2);
RawValue_8=ads1115_2.readADC_SingleEnded(3);
Voltage_ACS_1=(RawValue_1/1024.0)*5000;
Voltage_ACS_2=(RawValue_2/1024.0)*5000;
Voltage_ACS_3=(RawValue_3/1024.0)*5000;
Voltage_ACS_4=(RawValue_4/1024.0)*5000;
Voltage_ACS_5=(RawValue_5/1024.0)*5000;
Voltage_ACS_6=(RawValue_6/1024.0)*5000;
Voltage_ACS_7=(RawValue_7/1024.0)*5000;
Voltage_ACS_8=(RawValue_8/1024.0)*5000;
Amps_1=((Voltage_ACS_1-ACSoffset)/mVperAmp);
Amps_2=((Voltage_ACS_2-ACSoffset)/mVperAmp);
Amps_3=((Voltage_ACS_3-ACSoffset)/mVperAmp);
Amps_4=((Voltage_ACS_4-ACSoffset)/mVperAmp);
Amps_5=((Voltage_ACS_5-ACSoffset)/mVperAmp);
Amps_6=((Voltage_ACS_6-ACSoffset)/mVperAmp);
Amps_7=((Voltage_ACS_7-ACSoffset)/mVperAmp);
Amps_8=((Voltage_ACS_8-ACSoffset)/mVperAmp);
Serial.print("current1: "); Serial.println(Amps_1);
Serial.print("current2: "); Serial.println(Amps_2);
Serial.print("current3: "); Serial.println(Amps_3);
Serial.print("current4: "); Serial.println(Amps_4);
Serial.print("current5: "); Serial.println(Amps_5);
Serial.print("current6: "); Serial.println(Amps_6);
Serial.print("current7: "); Serial.println(Amps_7);
Serial.print("current8: "); Serial.println(Amps_8);
delay(1000);

}

This is my code but I think it is wrong code. Can you give me some advice with this coding?

what does it do that you don't want?
(you could use arrays and a for loop to simplify the code)