What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-08 09:39:01
create a random question generator php
<?php //Connect with mysql $db = new mysqli("host","user","pass","db"); //Perform the query to choose random questions $query = $db->query("SELECT * FROM `table` ORDER BY RAND() LIMIT 2... Add solution -
Other 2021-09-07 07:06:01
acceleration equations
Uniform Acceleration Equations (1) v = v0 + at (2) Δs = (1/2)(v+v0)t (3) Δs = s0 + v0t + (1/2)a(t^2) (4) v^2 = (v0)^2 + 2aΔs Where... Initial velocity = v0 Final velocity = v Acceleration = a Time = t Initial position = s0 Final positi... Add solution -
C++ 2021-09-07 05:05:02
write a program that simulates the rolling of two dice in c++
#include<iostream> #include<cstdlib> #include<ctime> #include<iomanip> #include<vector> #include<cmath> #include<algorithm> int main( ) { std::cout << "enter seeding number: " ; int nu... Add solution
Best helpers
Mahdi_12167
+5
Talin
+5
Cris Kool
+5
Lina Omran
+5
Clay Fowler
+5
Larry Liang
+5
Wolfwood
+5
Fame Whiz
+5
Kittyngwy
+5