Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Bucles: Suma de n números tecleados por el usuario
//Calcular la suma de n enteros tecleando n el usuario //clang 3.6.0 #include <stdio.h> int main(void) { int cuantos, num, suma, i; printf("Suma del conjunto de números que elijas\n"); printf("Cuántos quieres?"); scanf(" %d", &cuantos); for (i=0; i<cuantos; i++) { printf("\nTeclea el número: "); scanf(" %d", &num); suma = suma + num; } printf("\n La suma vale: %d", suma); return 0; }
run
|
edit
|
history
|
help
0
Tree and binarySearch
lab4.1 C
Bucles: Suma de n números tecleados hasta introducir 0
Herout (67) - 2+
interestCalculationSample
UDP - Pytagorova veta
Graph Depth First Search
funny stack overflow
Find the length of largest subarray with equal number of 0's and 1's using recursion
char xor