scan two numbers example
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
76f38856ff
commit
2b78953677
3 changed files with 11 additions and 3 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue