unit 36.13

Run Settings
LanguageC
Language Version
Run Command
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int numArr[5]; int smallestNumber; scanf("%d %d %d %d %d", &numArr[0], &numArr[1], &numArr[2], &numArr[3], &numArr[4]); smallestNumber = numArr[0]; for (int i = 0; i < sizeof(numArr) / sizeof(int); i++) { if (numArr[i] < smallestNumber) { smallestNumber = numArr[i]; break; } numArr[i]; } printf("%d\n", smallestNumber); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines