Subscribe to:
Post Comments (Atom)
x^y using recursion
Program: #include<stdio.h> int power(int a,int b); int main() { int x,y,ans; printf("Enter x and y:\n "); scanf(...
-
Program: #include<stdio.h> int main() { char s1[30],s2[30]; int i=0; printf("Enter a string: "); scanf("%s...
-
// 1² + 2² +3² +.............+ n² Program: #include<stdio.h> int main() { int n,i,sum=0; printf("Enter n: "); sc...
-
Program: #include<stdio.h> int main() { int a[4][4],b[4][4],c[4][4],m,n,p,q,i,j; printf("Enter no. of rows in matrix A: ...
No comments:
Post a Comment