CodeSolved

A comprehensive source of programming questions and exercises

Calculate the area of ​​the rhombus

Practice Easy 272/ Download 683 Views

Write a program that receives a large and small rhombic diameter and calculates the rhombus area.

Ringe area = large diameter * small diameter ÷ 2

13 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.
ghotrbb = int(input("enter your number:"))
ghotrkk = int(input("enter your number:"))
masahat = (ghotrbb * ghotrkk) / 2
print(f"masahat louzi:{masahat}")
big_diagonal=int(input("big diagonal:"))
small_diagonal=int(input("small diagonal:"))
result=big_diagonal*small_diagonal
result2=result/2
print(result2)
Roghaye.m Download Python
a=float(input("z.b:  "))
b=float(input("z.k:  "))
print(a*b/2)
User 1673 Download Python
n = float(input("y:"))m = float(input("x:"))x = m*n/2print(x)
User 3131 Download Python
const bigDiagonal = prompt("اندازه ی قطر بزرگ را وارد کنید:");
const smallDiagonal = prompt("اندازه ی قطر کوچک را وارد کنید:");
const finalNum = bigDiagonal * smallDiagonal / 2 ;
console.log(`طبق اعداد وارد شده، مساحت لوزی شما برابر است با ${finalNum}`);
x = float(input())
y = float(input())
print((x * y) / 2)

Arshia.a Download Python
<< Previous page 1 2 Next page >>

Submit answer

Submitting answers is currently unavailable.

Related content

Detection using AI
×
×
Close