Computer Science, asked by suvamtalukder2002, 1 year ago

Write a C++ program to calculate cube of first 15 even numbers.

Answers

Answered by osamahere313
2

#include<iostream.h>

#include<conio.h>

#include<math.h>

void main()

{

for (int i=0;i<31;i++)

{if(i%2==0)

{cout<<i<<"\t"<<pow(i,3);}

}

}

Similar questions