fork download
  1. #include<stdio.h>
  2. main()
  3. {
  4. int A = 10; int B = 20; int C = 30; int sum = 0;
  5. printf("Natsiri\nSookkaew");
  6. printf("\nA=%d \nB=%d \nC=%d", A, B, C);
  7. sum = A + B + C;
  8. printf("\nsum=%d", sum);
  9. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
Natsiri
Sookkaew
A=10 
B=20 
C=30
sum=60