In Computer programming, there are four (4) common data types and these include:
- Integer type (int):
- Floating point type (float)
- Boolean (bool)
- String (str)
<h3>The kinds of data type.</h3>
In Computer programming, there are four (4) common data types and these include:
- <u>Integer type (int):</u> it is used for storing whole numbers such as 1, 2, 3, 4, ..... 2,147,483,647.
- <u>Floating point type (float):</u> it is used for defining real numbers that have a decimal point such as 0.009, 9.87, 5.6, etc.
- <u>Boolean (bool):</u> it allow users to combine keywords with Boolean operators (quotes, AND, OR, near/n) as either true or false.
- <u>String (str):</u> it is used for data values that are made up of ordered sequences of characters.
Read more on a data types here: brainly.com/question/25619349
Answer:
Elevates rights to what you can access
Answer:
#include <iostream>
using namespace std;
int main()
{
int length = 8;
int width = 8;
int perimeter = 2*(length + width);
int area = length * width;
cout<<"The perimeter is "<<perimeter<<endl;
cout<<"The area is "<<area<<endl;
return 0;
}
Explanation:
include the library iostream for using the input/output instructions in the c++ programming.
Create the main function and define the variable length and width with values.
Then, use the formula for calculating the perimeter and area of rectangle.


and store in the variables and finally print the output.