COROANA TE ROG!!!
1
#include<iostream>
using namespace std;
int main(){
int a, b;
cout<<"lungime=",cin>>a;
cout<<"latime=",cin>>b;
cout<<"aria="<<a*b<<endl<<"perimetrul="<<2*a+2*b;
return 0;
}
2
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
cout<<n%10+n/10%10+n/100%10;
return 0;
}
3
#include<iostream>
using namespace std;
int main(){
int n,s=0;
cin>>n;
while(n!=0)
s=s+n%10,n=n/10;
cout<<s;
return 0;
}
4
#include<iostream>
using namespace std;
int main(){
float v;
cin>>v;
cout<<60*60/v;
return 0;
}