Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Count v c++ i am trying
SUBMITTED BY:
Maxmaro
DATE:
March 8, 2021, 4:54 p.m.
FORMAT:
Text only
SIZE:
331 Bytes
Raw
Download
Tweet
HITS:
2380
Go to comments
Report
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<"tell one side\n";
cin>>a;
cout<<"tell second side\n";
cin>>b;
cout<<"tell third side\n";
cin>>c;
if(a>0 && b>0 && c > 1)
{
cout<<"V = a*b*c = ";
cout<< a*b*c;
}
else
{
cout<<"Side can't be lower than 1";
}
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus