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
mast tha bhai
Solution Comments
Show commentsProblem Recent Solvers104559
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2321 Solvers
-
853 Solvers
-
951 Solvers
-
507 Solvers
-
Make a vector of prime numbers
799 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!