Today we learned the major data types and their uses. The major data types are bool, float, string, char, and int. In this piece of code I have wrote down all of the data types and then I debugged them so they would show in the console.
Output:
what are they:
Bool: bool is a value that can be either true or false.
Int: an int is a whole number.
String: string is a string of letters to form a word or sentence.
Character: a character is a single letter.
Float: a float is a number with a decimal point.