Playground
#include <iostream> using namespace std; int main() { int a, b, c; a = 100; //a=100 b=* c=* b = 50; //a=100 b=50 c=* c = 20; //a=100 b=50 c=20 a = b; //a=50 b=50 c=20 b = 30; //a=50 b=30 c=20 c = b; //a=50 b=30 c=30 a = b+c; //a=60 b=30 c=30 cout << "a=" << a << endl; //pechati 'a=60' cout << "b=" << b << endl; //pechati 'b=30' cout << "c=" << c << endl; //pechati 'c=30' return 0; }
Input data
Program output
no input
Execute
Language: ????????? | Memory: ???? KB | Time: ??? ms
Nothing has been executed, yet!