{"size": 512, "ext": "js", "max_stars_repo_path": "js/UKL/soal1.js", "max_stars_repo_name": "GOLOKKU/school_code_archive", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/UKL/soal1.js", "max_issues_repo_name": "GOLOKKU/school_code_archive", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/UKL/soal1.js", "max_forks_repo_name": "GOLOKKU/school_code_archive", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.962962963, "max_line_length": 57, "alphanum_fraction": 0.474609375}
/*
Soal        : 1
A           : 5
B           : 9
Suku akhir  : 21
*/

A=5;
B=9;
suku_akhir=2;
u=A;
s=A;

console.log("Deret Aritmatikanya adalah");

for(i=0;i<suku_akhir;i++){                            
    console.log("Angka U awal = "+u);
    console.log("Angka S awal = "+s); 
    u=u+B; 
    s=s+u;    
    console.log("Angka U akhir = "+u);
    console.log("Angka S akhir = "+s);  
}

console.log("S = s-u = " + s + " - " +u + " = "+ (s-u)); 
s=s-u;  
console.log("Jumlah Deret Aritmatikanya adalah "+s);