What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-10 12:15:03
10 random numbers unity
void Start(){ //having an int Array of 10 members int [] numbers = new int[10]; //using a string variable to keep record of the used numbers string usedNumbers ="-"; //cycle to get 10 random numbers for (int i = 0 ; i<10; i++) {... Add solution -
Python 2021-09-09 09:47:02
fibonacci logic in pthon in for loop
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
C++ 2021-09-09 04:44:02
write a program to implement stack using array
#include <iostream> using namespace std; int stack[100], n=100, top=-1; void push(int val) { if(top>=n-1) cout<<"Stack Overflow"<<endl; else { top++; ... Add solution -
C 2021-09-09 02:12:03
circular linked list in c
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> struct node { int data; int key; struct node *next; }; struct node *head = NULL; struct node *current = NULL; bool isEmpty() { return ... Add solution -
Javascript 2021-09-08 13:44:01
javascript example
html> <head> <title>Multiplication Table</title> <script type="text/javascript"> var rows = prompt("How many rows for your multiplication table?"); var cols = prompt("How many columns for you... Add solution -
C++ 2021-09-08 11:44:01
preemptive priority scheduling implementation in c
#include <iostream> #include <algorithm> #include <iomanip> #include <string.h> using namespace std; struct process { int pid; int arrival_time; int burst_time; int priority; int start_time; int completio... Add solution
Best helpers
Ranking is empty