Answer:
int main()
{
int speed = 25, time = 15;
int distance = speed * time;
cout<<"The distance is: " << distance <<endl;
return 0;
}
Explanation:
- Initialize the variable <em>speed</em> as 25 and <em>time</em> as 15
- Calculate the <em>distance</em> by multiplying <em>speed</em> and <em>time</em>
- Print the <em>distance</em>
Scalar Values are single numbers or values, which may include integers, floating-point decimals, or strings of characters.
A(n) array is a group of scalar or individual values that are stored in one entity.
A(n) user-defined type is a data type that is assigned a true or false value by a programmer.
A(n) abstract data type is a data type that can be assigned multiple values.
Formatting can maybe be applied to software works