QUESTION IMAGE
Question
if input is a two digit number:
input → add 7 → output
if input is a one digit number:
input → double the input → output
input | output
23 | □
2 | □
13 | □
10 | □
Step1: Process input 23 (2-digit)
$23 + 7 = 30$
Step2: Process input 2 (1-digit)
$2 \times 2 = 4$
Step3: Process input 13 (2-digit)
$13 + 7 = 20$
Step4: Process input 10 (2-digit)
$10 + 7 = 17$
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
| Input | Output |
|---|---|
| 2 | 4 |
| 13 | 20 |
| 10 | 17 |