Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <Windows.h>
- #include <string.h>
- #include <stdlib.h>
- #include<locale.h>
- #define DLUGOSC 3
- int i;
- long ss[3];
- int main (void)
- {
- setlocale(LC_ALL,"polish");
- printf("Proszę wprowadzić 3 liczby całkowite typu long\n");
- for (i = 0; i < 3; ++i) {
- printf("Wprowadź daną nr %d \n", i + 1);
- scanf_s("%l", ss[i], (unsigned)_countof(ss));
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement