Monday, April 11, 2016

C programming Language Code Examples-ArithmeticOperations(5)

Smiley face

Code:

Smiley face

Output:

Smiley face

note:

also can do this operation without declare 'sum'

printf("your sum is:%d\n",num1+num2);

Code:

Smiley face

Output:

Smiley face

note:

if you declear 'num1' & 'num2' as float

then you will be get exactly answer for division

No comments:

Post a Comment

Wel Come !!! computer express