What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-22 18:55:02
using functions to change the console color in printf C
#include <stdio.h> void red () { printf("\033[1;31m"); } void yellow { printf("\033[1;33m"); } void reset () { printf("\033[0m"); } int main () { red(); printf("Hello "); yellow(); printf(&quo... Add solution -
Other 2022-02-22 17:00:19
cholesky decomposition of real symmetric matrix c program
#include <stdio.h>#include <stdlib.h>#include <math.h> double *cholesky(double *A, int n) { double *L = (double*)calloc(n * n, sizeof(double)); if (L == NULL) exit(EXIT_FAILURE); for (int i = 0; i < n; i++) ... 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
Best helpers
Daniel Cook
+5
Czlsws
+5
Mick Daw
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5