From f3dcba88eee8e3e004921a184f0b1f9c6ca0fde5 Mon Sep 17 00:00:00 2001 From: Maheshkanhere <59005620+Maheshkanhere@users.noreply.github.com> Date: Wed, 27 Oct 2021 14:25:02 +0530 Subject: [PATCH] code for problem learning to be precise --- learning to be pricise.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 learning to be pricise.cpp diff --git a/learning to be pricise.cpp b/learning to be pricise.cpp new file mode 100644 index 0000000..5111523 --- /dev/null +++ b/learning to be pricise.cpp @@ -0,0 +1,37 @@ +//Initial Template for C++ + + + +#include +using namespace std; + + // } Driver Code Ends +//User function Template for C++ + +void precise(float a, float b) +{ + float c = a/b; + + // cout<>t; + while(t--) + { + float a,b; + cin>>a>>b; //Taking input of a and b in floating types + precise(a,b); + + } + return 0; +} // } Driver Code Ends