Skip to content

Instantly share code, notes, and snippets.

@achmadweb
Created September 17, 2020 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save achmadweb/8d3c212f99d48de20a72075b22f0b318 to your computer and use it in GitHub Desktop.
Save achmadweb/8d3c212f99d48de20a72075b22f0b318 to your computer and use it in GitHub Desktop.
Baca Tulis Isi Tabel
#include<stdio.h>
int main()
{
int Tab [5];
int i;
for (i=0; i<5; i++);{
scanf ("%d", &Tab[i]);
}
for (i=0; i<5; i++) {
printf ("Tab[%d] = %d ; ", i, Tab[i]);
}
printf ("\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment