CodeSolved

Solved Programming Questions & Exercises

Calculate the area of the rhombus

Practice Easy 272/ Download 1059 Views

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

Ringe area = large diameter * small diameter ÷ 2

14 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}")
Sumy.amiri Download Python
ghotr_bozorg = int(input("Ghotr bozorg lozi ra vared konid: "))
ghotr_kochik = int(input("Ghotr kochak lozi ra vared konid: "))
print(ghotr_bozorg*ghotr_kochik/2)

Shayan.fm Download Python
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}`);
<< Previous page 1 2 Next page >>

Submit answer

Submitting answers is currently unavailable.

×
×
Close