scan two numbers example

This commit is contained in:
2025-06-17 13:26:59 +03:00
parent 76f38856ff
commit 2b78953677
3 changed files with 11 additions and 3 deletions

View File

@ -1,9 +1,9 @@
#include <stdio.h>
#include "scanf_example.h"
#include "scanf_example_two_numbers.h"
int main() {
my_scan();
scan_two_numbers();
return 0;
}

View File

@ -1,4 +1,4 @@
#include <stdio.h>
#include "scanf_example_two_numbers.h"
int scan_two_numbers()
{

View File

@ -0,0 +1,8 @@
#ifndef SCANF_EXAMPLE_TWO_NUMBERS_H
#define SCANF_EXAMPLE_TWO_NUMBERS_H
#include <stdio.h>
int scan_two_numbers();
#endif