+ 5
#include <iostream> #include <cmath> using namespace std; int main() { int A; cout<<"\n Enter a number : "; cin>>a; for(int b=0;b<11;b++) { cout<<"\n a^b = "<<pow(A,b); } return 0; }
20th Dec 2017, 3:28 PM
RZK 022
RZK 022 - avatar