What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-01-30 17:51:12
Write a program to print following pattern; 1 1 2 1 2 3 1 2 3 4
#include <stdio.h> int main() { int i, j, rows; printf("Enter the number of rows: "); scanf("%d", &rows); for (i = 1; i <= rows; ++i) { for (j = 1; j <= i; ++j) { printf("%d ", j); ... Add solution -
C 2022-01-30 15:10:39
power function in c without pow
// power function in c without pow #include <stdio.h> double mypow(double base, double power); int main() { int base, exponent; printf("Enter Base: "); scanf("%d", &base); printf("Enter Exponent: "); scan... Add solution -
Other 2022-01-29 06:46:55
queue using c
// Queue implementation in C #include <stdio.h> #define SIZE 5 void enQueue(int); void deQueue(); void display(); int items[SIZE], front = -1, rear = -1; int main() { //deQueue is not possible on empty queue deQueue(); //enQueue 5 element... Add solution -
Other 2022-01-29 04:07:09
how to insert an element from an array
int main() { int array[100], position, c, n, value; printf("Enter number of elements in array\n"); scanf("%d", &n); printf("Enter %d elements\n", n); for (c = 0; c < n; c++) scanf("%d"... Add solution
Best helpers
Christie
+5
Don Yarber
+5
Mike
+5
Jack Steele
+5
Bossylobster
+5
Tjb1982
+5
Alana
+5
Mythio
+5
Sharp Wit
+5
Rane Chetan
+5
Hongyan
+5
Androider
+5
Ms.Zizmor
+5
Robert Astle
+5
Joshua Burns
+5
Sea shell
+5
Zolani13
+5
Meldie Ching
+5
Nancye S....
+5
Oritatami
+5
FirstLegion
+5