Module: (C++) Subroutines: Procedures and Functions - 2


Problem

3/11

Calling a function

Problem

Write a program that uses the given function to calculate the arithmetic mean of two numbers and prints the word YES if the arithmetic mean of the two numbers is greater than 5, or the word NO otherwise

Input data: Two natural numbers are given as input to the program (both numbers are no more than 150). Both numbers are on the same line separated by a space.

Output: Print YES or NO