Advertisement
Guest User

cpp

a guest
Mar 22nd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include <Windows.h>
  6. #include <iostream>
  7. using namespace std;
  8. extern "C"
  9. {
  10. void sayID();
  11. double function(double);
  12. }
  13. void main()
  14. {
  15. double id;
  16. printf("Enter your id: \n");
  17. cin >> id;
  18. sayID();
  19. double x;
  20. cin >> x;
  21. cout << function(x) << endl;
  22. system("pause");
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement