1. 76.
    0
    Bak koçum 13 ü 2 ye böl bölüm=6 kalan=13-6*2=1 e bizede kalan lazım bu sekilde bulabilirsin basit yolla
    ···
  2. 77.
    0
    eşitliğin sol tarafında öyle bi kullanım var mı bi daha düşün istersen.
    ···
  3. 78.
    0
    @26 kalanı buluon aga şaka değil
    ···
  4. 79.
    0
    @1 adam lise2 beyler..
    ···
  5. 80.
    0
    Lan bide for döngüsü for(i=x;0<=i;i--) olcak yanlış yazdım
    ···
  6. 81.
    0
    @23 şaka mı la bu?

    a/2=b;
    a-2*b=c;
    ···
  7. 82.
    0
    edit: panpa commentleri sil istersen
    2lik 8lik 16lık diye ayırır sayıyı

    1. include<stdio.h>
    2. include <stdlib.h>

    void baseDigit(int dec , int n);

    void main(void)

    {

    //step 1 reserve memory places for dec and n variables
    int dec , n ;

    //step 2 promt message to get value of n
    printf ("Please enter the base (2-8-16) :") ;
    scanf ("%d" ,&n) ;

    //step 3 if n is different from 2 or 8 or 16 exit the program
    if(n!=2 && n!=8 && n!=16) {
    printf ("You chose wrong number for basenn") ;
    exit(1) ;
    }

    //step 4 promt message to get value of dec from user
    printf ("n Please enter a positive decimal number : ") ;
    scanf ("%d" , &dec) ;

    //step 5 call function called baseDigit
    baseDigit(dec , n);

    printf("nn") ;
    printf("nn") ;
    }

    void baseDigit(int dec , int n)

    {
    //step 5.1 reserve memory places for local variables result and i
    int result , i;

    switch (n)
    {
    //step 5.2.1 if n equals to 2 than {
    case 2:

    //step 5.2.1.1 i<-1
    i=1 ;

    //step 5.2.1.2 while dec is not equal to 0 do {
    while (dec != 0)
    {
    //step 5.2.1.2.1 if i is equal to 1 promt the message else promt second message
    if(i==1)
    printf("least significant value is :") ;
    else
    printf("nbinary digit is :") ;

    //step 5.2.1.2.2 i <- i +1
    i++ ;

    //step 5.2.1.2.3 result <-dec%2
    result=dec%2 ;

    //step 5.2.1.2.4 dec<- (dec/2)
    dec=dec / 2 ;

    //step 5.2.1.2.5 promt result
    printf("%d" , result) ;

    }//end of while
    break ;//end of if

    //step 5.2.2 if n equals to 8 than {
    case 8:

    //step 5.2.2.1 i<- 1
    i=1 ;

    //step 5.2.2.2 while dec is not equal to 0 do {
    while (dec != 0)
    {
    //step 5.2.2.2.1 if i is equal to 1 promt the message else promt second message
    if(i==1)
    printf("least significant value is :") ;
    else
    printf("noctal digit is :") ;

    //step 5.2.2.2.2 i <- i +1
    i++ ;

    //step 5.2.2.2.3 result <-dec%8
    result=dec%8 ;

    //step 5.2.2.2.4 dec<- (dec/8)
    dec=dec / 8 ;
    //step 5.2.2.2.5 promt result
    printf("%dn" , result) ;

    } //end of while
    break ;//end of if

    //step 5.2.3 if n equals to 16 than {
    case 16 :

    //step 5.2.3.1 i<- 1
    i=1 ;

    //step 5.2.3.2 while dec is not equal to 0 do {
    while (dec != 0)
    {
    //step 5.2.3.2.1 if i is equal to 1 promt the message else promt second message
    if(i==1)
    printf("least significant value is :") ;
    else
    printf("nhex digit is :") ;

    //step 5.2.3.2.2 i <- i +1
    i++ ;

    //step 5.2.3.2.3 result <-dec%16
    result=dec%16 ;

    //step 5.2.3.2.4 dec<- (dec/16)
    dec=dec /16 ;

    //step 5.2.3.2.5 if result is greater than 10 do {
    if(result>=10)
    {
    switch(result)
    {
    //step 5.2.3.2.5.1 if result is equal to 10 promt A
    case 10:
    printf("A");
    break;

    //step 5.2.3.2.5.2 if result is equal to 10 promt B
    case 11:
    printf("B");
    break;

    //step 5.2.3.2.5.3 if result is equal to 10 promt C
    case 12:
    printf("C");
    break;

    //step 5.2.3.2.5.4 if result is equal to 10 promt D
    case 13:
    printf("D");
    break;

    //step 5.2.3.2.5.5 if result is equal to 10 promt E
    case 14:
    printf("E");
    break;

    //step 5.2.3.2.5.6 if result is equal to 10 promt F
    case 15:
    printf("F");
    break;
    }
    }//end of if

    //step 5.2.3.2.6 if result is not greater than 10 promt value of result
    else
    printf("%d" , result) ;


    }//end of while

    break ; //end of if

    }
    }
    Tümünü Göster
    ···
  8. 83.
    0
    Lan for döngüsünden önce printf("%d ",b); yaz sonra for döngüsü
    ···
  9. 84.
    0
    #include<stdio.h>
    3. include<stdlib.h>
    int main()
    {
    int d[300],a,b=0,c,x,;
    printf(" 10 luk deger gir pampa:");
    scanf("%d",&a);
    while(b != 1)
    {
    a/2=b;
    a-2*b=c;
    a=b;
    d[x]=c;
    x++;
    }
    for(i=x;0<i;i--)
    printf("%d ",d[i]);
    system("pause");
    return 0;
    }
    ···
  10. 85.
    0
    C ne lan bin vitamin mi. Anlıyom ben o zaman; portakal, şeftali, karpuz amk...
    ···
  11. 86.
    0
    ···
  12. 87.
    0
    stdio.h unutma dev-c ise. gerisi doğru gibi.
    ···
  13. 88.
    0
    lan amcıklar yardım edene şuku yağdırıcam. büte kaldım gibtiğimin dersinden. bana 10 tabanındaki bir sayıyı 2 tabanına çeviren bi program yazacak babayiğit varmı.if while for falan kullanarak
    ···