Translate

Bu Blogda Ara

21 Haziran 2016 Salı

Üçken Yapan Program





#include<stdio.h>



int main(){

                //Girilen Sayi kadar kenarlarda ve hipotenüsde sayı bulunduran

                // Program

 int i,j,girilen,tam;

 printf("Bir sayi giriniz");

 scanf("%d",&girilen);

 for(i=1;i<=girilen;i++){              

                for(j=1;j<=girilen;j++){                              

                               if(i>=j){
                                               tam=i*j;

                              

                               printf("%d ",tam);               

                                                                                            

                               }            

                                        }             

                printf("\n");

               

 }          
return 0;
}

               

               

               

               

            


Hiç yorum yok:

Yorum Gönder