perform the following : assign the value of pie(3.142857....) to a variable with the requisite data type
Share
perform the following : assign the value of pie(3.142857....) to a variable with the requisite data type
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Double data type or Float data type
Explanation:
you can write like :
double a ;
a=3.142857;
--------------------------or
float a;
a= 3.142857;