204k views
1 vote
Write a code to add any two number together

1 Answer

0 votes

Answer:

scanf("%d %d", &number1, &number2); Then, these two numbers are added using the + operator, and the result is stored in the sum variable. Finally, the printf() function is used to display the sum of numbers.

User Anastazy
by
4.2k points