URI Online Judge | 1001 Extremely Basic Solve with source code
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 end line after all.
SOLVE
A = float(input())
B = float(input())
MEDIA = (A*3.5+B*7.5)/(3.5+7.5)
print("MEDIA = %.5f"%MEDIA)
I am bookmarking it to read it over again after work. It seems like a very interesting topic to write about. Your posts are really helpful to me. Thanks for your wonderful post. I am very happy to read your post.
ReplyDeletewww.result-jobs.com