You LOVES Matlab 41% - MATLAB Cody - MATLAB Central

Problem 393. You LOVES Matlab 41%

Difficulty:Rate

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.

Solution Stats

44.44% Correct | 55.56% Incorrect
Last Solution submitted on Apr 23, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
7
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers38

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page