Addition of two digits in C programming

#include <stdio.h>
int main()
{
  int x, y, z;

  printf("Enter two numbers to add\n");
  scanf("%d%d", &x, &y);

  z = x + y;

  printf("Sum of the numbers = %d\n", z);

  return 0;
}

Comments

Popular posts from this blog

Hotel Billing Management Software By Suryanshsk

Develope Snake game using Html Code

Mother tongue of programming language (C language coding) -By Suryanshsk