Computer Networking > STUDY GUIDE > Java Programming (CSE1007) (All)
Lab Assignment - 1 Name: Geetika Gopi Registration No.: 16BCE2208 Basic Programs 1. Read the radius and print the area of a circle. import java.util.*; public class area_circle { public static ... void main(String[] args) { double rad; double pie=3.14,ar; Scanner sc = new Scanner(System.in); System.out.print("Enter radius of a circle:"); rad=sc.nextInt(); ar=pie*rad*rad; System.out.println("Area of circle:"+ar); } } [Show More]
Last updated: 2 years ago
Preview 1 out of 18 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Sep 13, 2022
Number of pages
18
Written in
This document has been written for:
Uploaded
Sep 13, 2022
Downloads
0
Views
108
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·