Skip to content

Instantly share code, notes, and snippets.

@minardo
Last active January 9, 2018 11:45
Show Gist options
  • Save minardo/196f2fef1c97ac5b27c454d2516ee212 to your computer and use it in GitHub Desktop.
Save minardo/196f2fef1c97ac5b27c454d2516ee212 to your computer and use it in GitHub Desktop.
Analisa Algoritma Pada Pemrograman C
#include "stdio.h"
int PROSES(int A);
int main()
{
int I,A;
A=15;
for(I=1; I<=3; I++) {
A = PROSES(A);
printf("%d\n", A);
}
return 0;
}
int PROSES(int A)
{
A=A*2;
return A;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment