Advertisement
kamandos

HomeWork

Jul 15th, 2022
882
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.   int a;
  6.   float b;
  7.   int x = scanf("%d%f", &a, &b);
  8.   printf("Decimal Number is : %d\n",a);
  9.   printf("Floating-Point Number is : %f\n",b);
  10.   printf("Return Value: %d",x);
  11.   return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement