Question
#include <iostream>
using namespace std;
int main() {
int a = 12, b = 23, c = 45, d = 78;
int x;
if (a > b) {
x = a * a;
} else if (b > c) {
x = b * b;
} else if (d > c) {
x = d * d;
} else {
x = c * c;
}
cout << x << endl;
return 0;
}
Jawab: …………………………………………………… {tuliskan output program}