/********* TRY YOURSELF FIRST **********/
Solutions in C++:
#include<iostream>
using namespace std;
int main(){
int A,B,SOMA;
cin>>A;
cin>>B;
SOMA=A+B;
cout<<"SOMA = "<<SOMA<<endl;
return 0;
}
using namespace std;
int main(){
int A,B,SOMA;
cin>>A;
cin>>B;
SOMA=A+B;
cout<<"SOMA = "<<SOMA<<endl;
return 0;
}
Comments
Post a Comment
Thanks for your message