Computer Science, asked by aishu20111214, 1 month ago

Write a program to calculate the volume of prism
Volume of a prim =bass*volume

Answers

Answered by bahriatimes
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