LEARN C, C++ IN URDU - CLASS NO-18

  
Code:
<#include stdio.h>
 <#include conio.h>
 main()
 {
 int i1 = 35, i2=15, i3=0;
 clrscr();
 i3 = i1+i2;
 printf("After addition the value of i3 is %d",i3);
 i3=i1-i2;
 printf("\nAfter subtracion the value of i3 is %d",i3);
 i3=i1*i2;
 printf("\nAfter multiplication the value of i3 is %d",i3);
 i3=i1/i2;
 printf("\nAfter division the value of i3 is %d",i3);
 i3=i1 % i2;
 printf("\nThe remainder of i1 / i2 is %d",i3);
getch();
}

0 comments:

Recent Posts

Developed by Free CSS Templates Pimped for blogger by Blogger Templates