Problem 1. Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:
Input x = 2 Output y is 4
Input x = 17 Output y is 34
Solution Stats
Problem Comments
-
123 Comments
Show
120 older comments
sun
on 24 Apr 2024
lol good problem,
Shardul
on 26 Jan 2025
basic
Anand
on 6 Feb 2025 at 8:56
mast tha bhai
Solution Comments
Show commentsProblem Recent Solvers104299
Suggested Problems
-
Return elements unique to either input
776 Solvers
-
Convert a vector into a number
602 Solvers
-
Natural numbers in string form
1635 Solvers
-
564 Solvers
-
1145 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!