Write a gradle program to calculate area of a circle and a square with tasks named circle and square and variables named radius and side respectively. Use command line arguments for radius and side. Run
Answers
Answered by
22
Answer:
sorry I can't answer your question please say thanks.
Answered by
0
PYTHON PROGRAM
Answer:
def area(r,s):
areacircle=3.14*r*r
print("The area of the circle is:",areacircle)
areasquare=s*s
print("The area of square is:",areasquare)
a=int(input("Enter the radius of the circle:"))
b=int(input("Enter the side of the square:"))
area(a,b)
Output:
Enter the radius of the circle:2
Enter the side of the square:4
The area of the circle is: 12.56
The area of square is: 16
TO KNOW MORE ON PYTHON PROGRAM
1.Write python program that accepts marks in 5 subjects and outputs average marks ..
brainly.in/question/13526149
2.Write a Python program to find person is senior citizen or not input page
brainly.in/question/12150015
Similar questions
Hindi,
5 months ago
Physics,
5 months ago
Environmental Sciences,
11 months ago
Biology,
11 months ago