Advertisement
Niloy007

Problem 3

Apr 11th, 2021
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement