Dev C++
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Dvojni operatori u C jeziku

Go down

Dvojni operatori u C jeziku Empty Dvojni operatori u C jeziku

Post  Don Corleone Wed Apr 13, 2011 10:53 pm


#include<stdio.h>
#include<conio.h>
int main(){

int x=1;
printf("Dvojni operatori \n");
printf("\n Sabiranja \n\n");
printf("x=x+1=%d \n",x=x+1);
printf("x+=1=%d \n",x+=1);
printf("\n Oduzimanja \n\n");
printf("x=x-1=%d \n",x=x-1);
printf("x-=1=%d \n",x-=1);
printf("\n Množenja \n\n");
printf("x=x*1=%d \n",x=x*1);
printf("x*=1=%d \n",x*=1);
printf("\n Deljenja \n\n");
printf("x=x/1=%f \n",(float)(x/1));

getch();


}
Don Corleone
Don Corleone
Admin

Posts : 148
Join date : 2009-10-28
Age : 31
Location : Sombor - Serbia

https://programing.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum