Thursday, June 3, 2021

c++ program check volume of cube (POP) (112)

#include<iostream>

using namespace std;

int main()

{

int side;

float volcu;

cout<<"please enter the side:";

cin>>side;

volcu=side*side*side;

cout<<"the volume of cube is:"<<volcu<<endl;

} 

No comments:

Post a Comment