Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int ikujlkjlkjlj; // остаток от групп из 7 книг
- int foo(int, float );
- ///////////////////////////////////////////
- int main() //
- {
- printf("foo = %d\n", foo(100, 1.999) );
- }
- ///////////////////////////////////////////
- int foo(int n1, float f2) //
- {
- return n1 + f2;
- }
- /*
- #include <stdio.h>
- int nx,
- ng,
- no; // остаток от групп из 7 книг
- ///////////////////////////////////////////
- int main() //
- {
- printf("Enter count of books: "); scanf("%d", &nx);
- printf("nx = %d\n", nx);
- ng = nx / 7;
- no = nx % 7;
- printf("ng = %d\n", ng);
- printf("no = %d\n", no);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement