C++ :
#include<bits/stdc++.h> using namespace std; int main(){ double l,r,v; cin>>l>>r>>v; cout<<"Q:"<<l*r<<endl; cout<<"C:"<<(l+r)*v<<endl; }
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 津桥OJ universal account