+ 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

26th Oct 2022, 11:36 AM
Elljay
Elljay - avatar
11 ответов
+ 4
What is your task actually ?
26th Oct 2022, 11:50 AM
Jayakrishna 🇮🇳
+ 3
Yupp! Thanks a lot!😊
26th Oct 2022, 1:35 PM
Elljay
Elljay - avatar
+ 3
Hope that helps to complete it. You can reply for further any.. You're welcome..
26th Oct 2022, 1:53 PM
Jayakrishna 🇮🇳
+ 2
Our output should like this: https://youtu.be/EDu6K1NtbYk
26th Oct 2022, 12:11 PM
Elljay
Elljay - avatar
+ 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.
26th Oct 2022, 12:41 PM
Jayakrishna 🇮🇳
+ 2
Can you teach me how to convert it?
26th Oct 2022, 12:43 PM
Elljay
Elljay - avatar
+ 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 ? ......
26th Oct 2022, 12:50 PM
Jayakrishna 🇮🇳
+ 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>
27th Oct 2022, 9:46 AM
Nina caci
Nina caci - avatar
28th Oct 2022, 2:51 AM
Christian Miro L. Ente
Christian Miro L. Ente - avatar
0
Plz tell how lern code I don't know coding single word of c Anyone teach by guy. I want learn this.
28th Oct 2022, 7:56 AM
Hites Tak
Hites Tak - avatar
0
Sanaol nag klase
1st Nov 2022, 5:58 AM
Míkey