A simple C program to add two integer numbers.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#include <stdio.h> int main (void) { int x, y, z; x = 5; y = 52; z = x + y; printf("\n\nx = 5 \ny = 52 \n"); printf("z = x + y = %d", z); return 0; } |