Untitled
unknown
c_cpp
a year ago
333 B
50
Indexable
Never
#include <stdio.h> int main() { /* define three variables */ int a, b, sum; /* get input data */ printf("Enter a: "); scanf("%d", &a); printf("Enter b: "); scanf("%d", &b); /* compute the sum */ sum = a + b; /* display the result */ printf("%d + %d = %d", a, b, sum); return 0; }