• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1
Put your variable in your function and it will work.
13th Jun 2022, 4:17 AM
Chris Coder
Chris Coder - avatar
0
You're welcome
13th Jun 2022, 6:18 AM
Chris Coder
Chris Coder - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Programming
4 Votes
Learning
1 Votes
GUYS WHY IS IT WRONG
3 Votes
What to do
0 Votes
Detailed help‑request in Python
1 Votes
PLEASE TEACH ME HOW TO CODE PROPERLY AND I DONT NOW HOW TO CODE BUT I WANT TO LEAR
0 Votes
Can AI Be Your Coding Valentine?
0 Votes
Has solo learner been helpful so far
0 Votes
Put user input in array for C++
1 Votes
so... As someone who learns programming via phone and applies the things they learn through a program on the phone
1 Votes