Advertisement
rony-Rony_05

problem 7

Jul 3rd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. #include<stdio.h>
  2. int sq(int a);
  3. int main()
  4. {
  5.     int n;
  6.     scanf("%d",&n);
  7.     printf("result=%d",sq(n));
  8. }
  9. int sq(int a)
  10. {
  11.     return a*a;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement