Main.cc: In function 'int main()':
Main.cc:6:10: error: 'r1' was not declared in this scope
cin>>r1;
^
Main.cc:9:1: error: expected primary-expression before ']' token
]
^
Main.cc:5:12: warning: unused variable 'r' [-Wunused-variable]
double r,s;
^
Main.cc:5:14: warning: unused variable 's' [-Wunused-variable]
double r,s;
^
Main.cc:9:1: error: expected '}' at end of input
]
^