Skip to content

Commit

Permalink
fix looping-excersie
Browse files Browse the repository at this point in the history
  • Loading branch information
junian committed Feb 20, 2018
1 parent b5ac911 commit fcdc7e1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
Binary file removed Looping Exercise/shift_02_programX.cpp
Binary file not shown.
Binary file removed Looping Exercise/shift_03_jamPasir.cpp
Binary file not shown.
Binary file removed Looping Exercise/shift_04_Diamond.cpp
Binary file not shown.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#include <stdio.h>
#include <conio.h>

int main(){
int n, half;
printf("Program Salib\n");
printf("===============\n\n");
printf("Cross Figure\n");
printf("============\n\n");
printf("Input N: ");
scanf("%d", &n);
printf("\n");
Expand All @@ -24,6 +23,6 @@ int main(){
}
printf("\n\n");
}
getch();
getchar();
return 0;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#include <stdio.h>
#include <conio.h>

int main(){
int n, x=1;
printf("Grafik Sinus\n");
printf("============\n\n");
printf("Sinus Graphic\n");
printf("=============\n\n");
printf("Input N: ");
scanf("%d", &n);
printf("\n");
Expand All @@ -23,6 +22,6 @@ int main(){
}
printf("\n");
}
getch();
getchar();
return 0;
}

0 comments on commit fcdc7e1

Please sign in to comment.