What do you want to save?
Add Code snippet
New code examples
-
C 2022-02-02 23:50:43
a program to find the numbers of positive, negative, odd and even numbers in a set of numbers in C
#include <stdio.h> void main () { int a[100]; int num,i; printf("How many numbers do you want to enter? : "); scanf("%d",&num); fflush(stdin); for (i=0;i<num;i++) { printf("Enter %d... Add solution -
C++ 2022-02-02 22:01:36
distinct char string c++
#include<stdio.h> #include<string.h> // function to return the number of unique // characters in str[] int count_unique_char(char* str) { int hash[128] = { 0 }; int i, c = 0; // reading each character of str[] for (i = 0; i < strlen(... Add solution -
Java 2022-02-02 21:50:47
converting temperature from fahrenheit to celsius
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int far = sc.nextInt(); int cel = (far - 32) * 5/9; System.out.printf("%d Fahrenheit is ... Add solution -
Other 2022-02-02 19:20:46
c language quadratic equation
#include <stdio.h> #include <math.h> int main() { int a, b, c, d; double root1, root2; printf("Enter a, b and c where a*x*x + b*x + c = 0\n"); scanf("%d%d%d", &a, &b, &c); d = b*b - 4*a*c; if (d &... Add solution -
Other 2022-02-02 19:11:10
cholesky decomposition 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
Best helpers
Daniel Cook
+5
Czlsws
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5