What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-03-02 12:45:05
sum of diagonal elements of a matrix in c
#include <stdio.h> void main () { int i,j,matrix[10][10],m,n,sum=0; printf("Enter number of rows of matrix : "); scanf("%d", &m); printf("Enter number of columns of matrix : "); scanf("%d... Add solution -
C 2022-03-01 11:50:03
area and circumference of a circle
#include <stdio.h> #define PI 3.142 int main(){ float r, C, A; printf("What is the radius: \n"); scanf("%f", &r); C = 2 * PI * r; A = PI * r * r; printf("\nCincumference is and %f Area is %f\n&quo... Add solution -
Other 2022-03-01 04:15:14
c programming examples
#include<stdio.h> #include<conio.h> void main() { char choise; char hel; int p,k,g; int b,c,e; printf("\n Welcome to GM Program :) \n\n It's a one time usalbe program so you can start the program again and again"); prin... Add solution -
C 2022-02-27 09:40:03
fibonacci series in c using recursion in data structure
#include<stdio.h> int f(int); int main() { int n, m= 0, i; printf("Enter Total terms:n"); scanf("%d", &n); printf("Fibonacci series terms are:n"); for(i = 1; i <= n; i++) { printf("%dn", fibonacci(m)); ... Add solution -
C 2022-02-27 05:30:04
exponent program in c
#include <stdio.h> double mypow(double base, double power); int main() { int base, exponent; printf("Enter Base: "); scanf("%d", &base); printf("Enter Exponent: "); scanf("%d", &exponent); ... Add solution -
C 2022-02-22 14:05:13
Raise the power of a number n by the force d
#include <stdio.h> #include<math.h> int cube(int n,int d){ int r; r=pow(n,d); return r; } int main(void) { int d,n; printf("enter your number :"); scanf("%d",&n); printf("To what degree do you want to rai... Add solution