scan two numbers example
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "scanf_example_two_numbers.h"
|
||||
|
||||
int scan_two_numbers()
|
||||
{
|
||||
|
8
c-basic/scanf_example_two_numbers.h
Normal file
8
c-basic/scanf_example_two_numbers.h
Normal 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
|
Reference in New Issue
Block a user