What is the relational operator? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the relational operator?

Tell me in english or tamil

25th Oct 2018, 2:47 PM
Shyamganesh
Shyamganesh - avatar
5 Answers
+ 1
don't need the int second time int a,b; a=2; b=3; or int a=2,b=3; AND declare y before using it
25th Oct 2018, 3:10 PM
Megatron
Megatron - avatar
+ 1
IN C++ Relational operators specify the relation between two variables by comparing them. Various C++ relational operators available are- > ,Greater than >= , Greater than or equal to == , Is equal to != , Is not equal to < =, Less than or equal to <, Less than
25th Oct 2018, 2:59 PM
Megatron
Megatron - avatar
+ 1
thanks a lot and the what is the meaning for int
25th Oct 2018, 3:00 PM
Shyamganesh
Shyamganesh - avatar
0
why int is not working when we assign a value for variables. example: int a,b; int a=2,b=3 y=a+b cout <<"values"<<y;
25th Oct 2018, 3:03 PM
Shyamganesh
Shyamganesh - avatar
0
thanks brother
25th Oct 2018, 4:49 PM
Shyamganesh
Shyamganesh - avatar