Niloy007

Problem 3

Apr 11th, 2021
475
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int d;
  5.     double n;
  6.     scanf("%lf %d", &n, &d);
  7.     printf("%.*f\n", (int) d, (double) n);
  8. }
RAW Paste Data