multiply by three - MATLAB Cody - MATLAB Central

Problem 2980. multiply by three

Difficulty:Rate

Given the variable x as your input, multiply it by 3 and put the result equal to y.

Examples: Input x = 2 Output y is 6 Input x = 10 Output y is 30

Solution Stats

92.88% Correct | 7.12% Incorrect
Last Solution submitted on Mar 28, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers958

Suggested Problems

Community Treasure Hunt

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

Start Hunting!
Go to top of page