Hello Everyone, Welcome to my blog for Sharing and Learning together! I hope you have a nice day! :)

LOOPING CETAK MENGGUNAKAN INCREMENT DAN DECREMENT PADA BAHASA C

+ No comment yet
/* ---------------------------------------* 
* PROGRAM LOOPING CETAK NOMOR URUT (TUGAS NO 3)* 
* Dibuat oleh : Eri Nur Sofa * 
* NIM: G.231.13.0139 *
* Tanggal : 02 Juni 2014 * 
*----------------------------------------*/ 
 
#include <stdio.h>
void main(){

   int i=1,j=10;
   clrscr();
   printf("PROGRAM LOOPING CETAK NOMOR URUT(TUGAS NO 3)\n");
   printf("=======================================\n");

   while (10>=i){      
      printf("%d \tUKDW Almameterku %d\n",i,j);
      ++i;
      --j;
 }
   printf("=======================================\n");
 getch();
}

Post a Comment