Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created September 1, 2021 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/4ce9d2c33d0d5790c0074484d983d71f to your computer and use it in GitHub Desktop.
Save amankharwal/4ce9d2c33d0d5790c0074484d983d71f to your computer and use it in GitHub Desktop.
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int x = 3;
int y;
y = pow(x, 2);
cout<<"3 raised to 2 outputs :"<<y<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment