Write a program to calculate the volume of prism
Volume of a prim =bass*volume
Answers
Answered by
1
Explanation:
#include<iostream>
using namespace std;
main()
{
int prim, bass, volume;
cout<<"Enter Bass:";
cin>>bass;
cout<<endl<<"Enter volume:";
cin>>volume;
prim=bass*volume;
cout<<endl<<"Valume of prim is ="<<prim;
}
Similar questions
CBSE BOARD XII,
24 days ago
Math,
24 days ago
Math,
1 month ago
Math,
1 month ago
Science,
9 months ago
Chemistry,
9 months ago
Computer Science,
9 months ago