Answer to Question #262395 in C for nath

Question #262395

You’re tasked with pairing up people with each other but you need to figure out how well both of them work together. In order to find out how effective each pair is, you need to create a program that adds both of their values and returns their sum.


Input

-1000<= x <= -1000

-1000<= y <= -1000


Two int inputs separated by a space

100·100






1
Expert's answer
2021-11-07T19:38:28-0500
#include <stdio.h>

int main()
{
    int value1, value2, sum;
    scanf("%d %d", &value1, &value2);
    sum = value1 + value2;
    printf("%d\n", sum);

    return 0;
}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS