What is boolean and float in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is boolean and float in c++

24th Dec 2018, 12:47 AM
Sandeep Sundi
Sandeep Sundi - avatar
3 Answers
+ 3
Boolean and float are two kind of variables. Boolean is a variable that can hold only two values: true or false. A float is a variable that can hold floating-point number, which means it is a number that has a decimal place, for example: 3,15.
24th Dec 2018, 1:37 AM
Sekiro
Sekiro - avatar
24th Dec 2018, 2:07 AM
AL Araf
AL Araf - avatar
+ 1
Thnks bro
24th Dec 2018, 3:03 AM
Sandeep Sundi
Sandeep Sundi - avatar