URI - BEECROWD - BEE 1001 Extremely Basic - Solution in C

URI - BEECROWD - BEE Online Judge Solution  1001 Extremely Basic- URI - BEECROWD - BEE Problem 1001 Solution in C


Read 2 variables, named A and B and make the sum of these two variables, assigning its result to the variable X. Print X as shown below. Print endline after the result otherwise you will get “Presentation Error”.

Input

The input file will contain 2 integer numbers.

Output

Print the letter X (uppercase) with a blank space before and after the equal signal followed by the value of X, according to the following example.
Obs.: don't forget the endline after all.
Samples InputSamples Output
10
9
X = 19
-10
4
X = -6
15
-7
X = 8

URI Online Judge Solution  1001 Extremely Basic- URI Problem 1001 Solution in C :

1 Response to URI - BEECROWD - BEE 1001 Extremely Basic - Solution in C

  1. Read 2 variables, named A and B and make the sum of these two variables, assigning its result to the variable X. Print X as shown below. Print endline after the result otherwise you will get “Presentation Error”.

    Input
    The input file will contain 2 integer numbers.

    Output
    Print the letter X (uppercase) with a blank space before and after the equal signal followed by the value of X, according to the following example.

    Obs.: don't forget the endline after all.


    ReplyDelete