Mon Jun 27 2022 13:29:55 GMT+0000 (Coordinated Universal Time)
Saved by @KanishqJ8
#include <stdio.h> int main(){ int n,m; long long int val=1; printf("enter the number "); scanf("%d %d",&m,&n); for(int i=0;i<=n;i++){ val=val*m; } printf("%ld",val); return 0; }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments