+ 4
Can someone help me with this?
I don't know what to do next. Our deadline is this Friday. Please help me. Here is my code so far: https://code.sololearn.com/c83OSth3ukDx/?ref=app And this should be the output: https://youtu.be/EDu6K1NtbYk
11 odpowiedzi
+ 4
What is your task actually ?
+ 3
Yupp! Thanks a lot!😊
+ 3
Hope that helps to complete it.
You can reply for further any..
You're welcome..
+ 2
Our output should like this: https://youtu.be/EDu6K1NtbYk
+ 2
As far I understood, there are 4 types of fuel each of different price.
You can choose 1 of them first as option1.
Next you have 2 options : amount, liters. Read option2.
Read value next.
Depending on input option, convert amount to liters or liters to amount according to option1, after reading the option2 and value.
Display result.
If any input is not in expected range, then display out of range.
If input is of wrong type then display invalid option.
+ 2
Can you teach me how to convert it?
+ 2
Sample:
if I enter 1 as option1 , then it's
Type = Gasoline Special
price = 57.23
Next option2 : 1 and amount is : 100
Equalent in liters is :
100/57.23 ( amount/price)
if I enter 1, then
Type = Gasoline Special
price = 57.23
Next option2 : 2 and liters is : 4
Equalent in amount need is :
4 * 57.23 (liters * price)
Hope it clears now ? ......
+ 2
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Happy Diwali</title>
<link
href="https://fonts.googleapis.com/css2?family=Courgette&family=Poppins:wght@600&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="container">
<div class="wishes-container">
<div class="lights lights-1"></div>
<div class="lights lights-2"></div>
<div class="wishes">
<h3>Happy</h3>
<h3>Diwali</h3>
</div>
</div>
<div class="diya-container">
<div class="diya">
<div class="line-1"></div>
<div class="line-2"></div>
<div class="dots"></div>
</div>
<div class="inside">
<div class="flame"></div>
</div>
</div>
<a href="https://youtu.be/HQZVGUMs3nk" target="_blank"
>My Youtube Channel</a
>
</div>
</body>
</html>
0
Plz tell how lern code I don't know coding single word of c
Anyone teach by guy. I want learn this.
0
Sanaol nag klase