0
Any one help me I don't understand variables
help me
7 Answers
+ 3
You don't have to be skilled in math to program. You just have to understand some concepts in math. Like algebra, for example. If you can solve 2x=14 for x, then you can program. x is the variable. Its job is to store a value. If you assign 7 to x, the equation becomes a true statement, because 2 * 7 = 14. x is a variable. It can be any letter you choose, just as long as you're not already using it. Like y * y, if y is 4, then the answer would be 16, y * y --> 4 * 4 = 16.
+ 1
We store values in variables.
int number = 5;
I created variable named number of type int and stored 5 in there.
+ 1
thanks for helping randomcoder
+ 1
Your welcomeđđ
+ 1
You should know basic math for little math operations that you might need.
+ 1
ohh thanks
0
is that need to know mathematics to learn C++