Tweet about this on TwitterPin on PinterestShare on LinkedInShare on Google+Email this to someoneShare on FacebookShare on VkontakteShare on Odnoklassniki

ACT1.c

#include <stdio.h> #include <conio.h> int main() { int angka [8] = {5,1,4,2,0,0,6,3}; int r; for (r=0;r<8;r++) { printf("%d", angka[r]); } printf("\n"); printf("RAVITA NURUL ASMI"); printf("\n"); }
Tweet about this on TwitterPin on PinterestShare on LinkedInShare on Google+Email this to someoneShare on FacebookShare on VkontakteShare on Odnoklassniki

ACT7.c

#include <stdio.h> int main (){ int matrika [2][2] ; int i,j; printf("Matriks 2x2 : \n"); for( i = 0; i<2 ; i++ ){ for ( j = 0 ; j<2 ; j++) { printf("Elemen [ %i , %i] = ", i+1, j+1); scanf("%d", &matrika[i][j]); printf("\n"); } } printf("\t ISI MATRIKS \n"); for( i = 0...
Tweet about this on TwitterPin on PinterestShare on LinkedInShare on Google+Email this to someoneShare on FacebookShare on VkontakteShare on Odnoklassniki

ACT 7.c

#include <stdio.h> int main(void) { char huruf[] = {'R', 'E', 'Z', 'A' }; printf("**************PROGRAM ARRAY*************** \n"); printf("HASIL ARRAY : "); printf("%c, %c, %c, %c, \n", huruf[0], huruf[1], huruf[2], huruf[3]); printf("*********************************************"); return 0; }