Computer Science, asked by rowdaalialnuami, 11 months ago


Write code to add two numbers, 5 and 7. Then display the sum on the serial monitor.

Answers

Answered by rushilansari
9

Answer:

#include <stdio.h>

int main()

{

  int num1, num2, sum;

  printf("Enter first number: ");

  scanf("%d", &num1);

  printf("Enter second number: ");

  scanf("%d", &num2);

  sum = num1 + num2;

  printf("Sum of the entered numbers: %d", sum);

  return 0;

}

HOPE IT HELPS IF YES PLEASE MARK THE BRAINLIEST.................

Similar questions