b = 21
a = 35
Объяснение:
С++
#include <iostream>
#include <math.h>
using namespace std;
int main() {
setlocale(LC_ALL, "RUS");
float a, b;
a = 5;
b = 6 + 3 * a;
a = b / 3 * a;
cout << "b = " << b << endl;
cout << "a = " << a << endl;
}
b = 21
a = 35
Объяснение:
С++
#include <iostream>
#include <math.h>
using namespace std;
int main() {
setlocale(LC_ALL, "RUS");
float a, b;
a = 5;
b = 6 + 3 * a;
a = b / 3 * a;
cout << "b = " << b << endl;
cout << "a = " << a << endl;
}