R_program2

 

Practical Name:- Write an r program to find sum mean and product of a vector

REMARK :-

 
Student Name:- Jamdhade Tushar Dnyaneshwar

 

 

Solution:-

x = c(14, 28, 54)

print("Sum:")

print(sum(x)) 

print("Mean:")

print(mean(x)) 

print("Product:")

print(prod(x))                                                    

Output:

Post a Comment

Previous Post Next Post