fork download
  1. #include<stdio.h>
  2. #include<conio.h>
  3.  
  4. void main( ){
  5. int A=7,B=2,C;
  6. printf("\nsum of A and B = ");
  7. printf("\nsum of A and B = %d",A+B);
  8. printf("\nsum of A and B = %d",A);
  9. printf("\nsum of A and B = %d",A+C);
  10. C = A*B; printf("\nA multiply B = %d",C);
  11. C = A/B; printf("\nA divided by B = %d",C);
  12. getch( );
  13. }
Success #stdin #stdout 0.02s 25404KB
stdin
Standard input is empty
stdout
#include<stdio.h>
#include<conio.h>

void main( ){
int A=7,B=2,C;
printf("\nsum of A and B = ");
printf("\nsum of A and B = %d",A+B);
printf("\nsum of A and B = %d",A);
printf("\nsum of A and B = %d",A+C); 
C = A*B; printf("\nA multiply B = %d",C);
C = A/B; printf("\nA divided by B = %d",C); 
getch( );
}