Friday, October 20, 2017

DEKLARASI ARRAY NILAI TERBESAR



Deklarasi
int p, n, brs, klm, jml, mak,min;
int l[brs][klm];
write (brs);
write (klm);

for (p=0;p<brs;p++){
            for(n=0;n<klm;n++)

for (p=0;p<brs;p++){
            for(n=0;n<klm;n++)

jml=0;
        for (p=0;p<brs;p++)
            for(n=0;n<klm;n++)
              jml=jml+l[p][n];

  mak=0;
        for (p=0;p<brs;p++){
            for(n=0;n<klm;n++){
                    if(l[p][n]>mak){mak=l[p][n];

write(jml);
            



Admin NgadidikIT

Admin & Editor

Admin Website Artikel Ngadidik Teknologi SMK, Maintenance IT

0 comments:

Post a Comment

 
biz.