variable i and a floating-point variable f, write a statement that writes both of their values to standard output in the following format: i=value -of-i f=value -of-f
Thus, if i has the value 25 and f has the value 12.34, the output would be:
i=25 f=12.34
But if i has the value 187 and f has the value 24.06, the output would be:
i=187 f=24.06
cout << "i=" << i << " " << "f=" << f;

Respuesta :

The correct answer is cout << "i=" << i << " " << "f=" << f;  variable i and a floating-point variable f,

A variable is a quantity that might change depending on the circumstances of an experiment or mathematical problem. Typically, a variable is denoted by a single letter. The general symbols for variables most frequently used are the letters x, y, and z. Any qualities, amount, or number that can be gauged or tallied qualifies as a variable. A data item is another name for a variable. Examples of variables include age, sex, company revenue and costs, country of birth, capital expenditures, class grades, eye color, and vehicle kind. Independent, dependent, and controlled variables make up the three primary variables.

To learn more about variable click the link below:

brainly.com/question/17344045

#SPJ4