CodeSolved

Solved Programming Questions & Exercises

Square area

Practice Easy 53/ Download 4566 Views Most popular

Write a program that receives the square side of the square from the input and accounts of its area

Square area = one side of self -crossing = a side of a power 2

52 Answers

This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
square = float(input("Square area :"))
s = square
print(s * s)
Sepehr Download Python
length = int(input("a: "))
width = int(input("b: "))
print(length*width)
Akams Download Python
# This code takes the square side
square_side = float(input('enter square side: '))
# This code also prints the area and prints in the output
print(square_side ** 2)
Amirsaleh Download Python
m = int(input("age one sibe:"))
n = m**2
print(n)
Mojtaba Download Python
<< Previous page 1 2 6 Next page >>

Submit answer

Submitting answers is currently unavailable.

×
×
Close