Summary
Keywords
Full Transcript
#solidity #ethereum #blockchain Solidity Programming Course - Part 9β€οΈ This video (0:00 - 14:03) is the ninth episode of a Solidity Programming Series focusing on conditional statements. It explains how to implement logic using if, else if, and else keywords in Solidity, along with a practical demonstration in Remix IDE. Key Highlights: If-Else Structure: (1:07 - 3:49) The video explains the fundamental syntax of conditional branching. A practical example is built to compare a car's price against a set budget to determine if it can be purchased. Practical Example: (3:51 - 6:53) Akshay demonstrates writing a function that takes a car price as input, compares it to the budget, and returns a boolean value (true for buy, false for not buying). Ternary Operator: (8:20 - 11:18) The video covers how to use the ternary operator (condition ? trueValue : falseValue) as a concise, one-line alternative to if-else statements for returning simple values. β€οΈβ€οΈ Resources πβ€οΈβ€οΈ Github: https://github.com/akshaykurhekar/solidity-programming β€οΈβ€οΈ Topic Covered πβ€οΈ 1. If /else / else if 2. explanation with code on the remix. 3. ternary operator in solidity. Playlists πβ€οΈ: https://www.youtube.com/playlist?list=PLTqJEAOVD7bpHR2CTaFVd9mJMZQYDF7ah https://www.youtube.com/playlist?list=PLTqJEAOVD7brZG5sLww_XuGEJTYRv1hm1 https://youtube.com/playlist?list=PLTqJEAOVD7boUDVH0WHY6zdY2VpZNQmh5&si=U6X8P3hzIButcslF https://www.youtube.com/playlist?list=PLTqJEAOVD7bqy7ll24DQeS2rs9WtDHQiC https://www.youtube.com/playlist?list=PLTqJEAOVD7bqEUavfK3e2Np2vHhKtBXO- β€οΈπ Social Handleβ€οΈπ You can Follow me on: IinkedIn : https://www.linkedin.com/in/akshay-kurhekar-64438a168/ Instagram: https://www.instagram.com/akshay_kurhekar/ Dev Community: https://dev.to/akshaykurhekar So, what are you waiting for? Hit the subscribe π button, share π this video with your friends, and don't forget to smash that like π button. I'll see you in the next video. Until then, β€οΈJAI HIND! β€οΈ
