Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 308 Bytes

File metadata and controls

16 lines (10 loc) · 308 Bytes

#include <stdio.h>

int main() { int num1, num2, sum;

printf("Enter the first number: ");
scanf("%d", &num1);

printf("Enter the second number: ");
scanf("%d", &num2);

sum = num1 + num2

printf("The sum of %d and %d is %d.", num1, num2, sum);

return 0;