Questions


September 2021 2 90 Report
Write a Program to declare a float variable pi and initialize it with the value of pi till 5 decimal places. Declare an integer variable intpiand store the value of pi in it. You have to print the value of intpi.

Keep the name of your class as Main
Use the System.out.println()statement for printing. Print only the value of intpi

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.