Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 393. You LOVES Matlab 41%

Created by Stephen

Given two strings, determine the percentage that one loves the other in the following way:

YOU LOVES MATLAB

there is 1 'L', 1 'O', and 0 of 'V', 'E' and 'S' for the string 'YOUMATLAB' giving 11000. You must add the adjacent digits until you get a two digit 'percentage' as an answer. (if the sum is over 9, add those digits in the next sequence.) 11000>2100>310>41% (the % need not be in the output)

I found this game in an old journal written by a friend when she was 6 years old, testing the compatibility of her older sister with boys in her class.

Problem Group

Solution Statistics

35 correct solutions 27 incorrect solutions
Last solution submitted on Aug 02, 2014

Problem Comments

Solution Comments