CODE:
#include<iostream>
using namespace std;
int main(){
int s1,s2,s3,p;
cout<<"Length of Side 1: ";
cin>>s1;
cout<<"Length of Side 2: ";
cin>>s2;
cout<<"Length of Side 3: ";
cin>>s3;
p=s1+s2+s3;
cout<<"The perimeter is : "<<p<<endl;
}
#include<iostream>
using namespace std;
int main(){
int s1,s2,s3,p;
cout<<"Length of Side 1: ";
cin>>s1;
cout<<"Length of Side 2: ";
cin>>s2;
cout<<"Length of Side 3: ";
cin>>s3;
p=s1+s2+s3;
cout<<"The perimeter is : "<<p<<endl;
}
About Ameer Yousuf
Templatesyard is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of templatesyard is to provide the best quality blogger templates.
No comments:
Post a Comment
Plz don't enter any spam link in the comment box!