Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
#18
#include <iostream> #include <ctime> using namespace std; int main() { int tablica[999]; int licznik = 0; unsigned int suma = 0; srand(time(NULL)); do { tablica[licznik] = (rand()%7)+4; cout << tablica[licznik] << endl; suma += tablica[licznik]; licznik++; } while (licznik < 999); cout << "Suma wszystkich liczb, to: " << suma; return 0; }
run
|
edit
|
history
|
help
0
<string> Indirect include of <errno.h> with VSC++
Regex success
MSVC alias template
#30.1
fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Initializing member array of structs
CIS-2207 Week1 Assignment1 Company Devisions
template test
fun
1337