myvector <- c(1,2,3,4,5,6)
SumMyVector(a)
[1] 21
MeanMyVector(a)
[1] 3.5

2.

#input
NumbericGrade = c(95, 79, 92, 70) 

#Your code will produce the following vector
c("A", "C", "A", "D")

Use it to grade the following vector.

grades <- c(98,49,67,23,59,78,82)

3.

4.

Write a function called pairwise.max that takes as its arguments two vectors x and y and returns a vector whose 1st element is the larger of the 1st elements of x and y, whose 2nd element is the larger of the 2nd elements of x and y, etc.

#imagine you have these two vectors
x <- c(1,4,2,6,3,4,5)
y <- c(5,3,1,8,7,6,1)

# your code sould produce the following vector
z <- c(5,4,2,8,7,6,5)

5.