What do you want to save?
Add Code snippet
New code examples
-
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 -
PHP 2022-03-01 03:25:12
recuperer des informations d'une table parent en sql
If you want to handle sessions with a class, I wrote this little class: <?php /* Use the static method getInstance to get the object. */ class Session { const SESSION_STARTED = TRUE; const SESSION_NOT_START... 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 -
Other 2022-02-26 13:30:03
complex pattern in c
#include /* * nos = Num. of spaces required in the triangle. * i = Counter for the num. of characters to print in each row * skip= A flag for check whether to * skip a character in a row. * */int triangle(int nos, int i, int skip) { char prnt = '*... Add solution