Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int huruf=65;
- for(int i=0; i<5; i++){
- for(int j=0; j<=i; j++){
- printf("%c ", huruf);
- huruf++;
- }
- printf("\n");
- }
- huruf=71;
- int temp=75;
- for(int i=4; i>=0; i--){
- temp=temp-i;
- huruf=temp;
- for(int j=0; j<i; j++){
- printf("%c ", huruf);
- huruf++;
- }
- printf("\n");
- }
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment