इस Article में हम Decision Making in C in Hindi को जानेगे। Programming में Decision Making का काफी Use है, जब हम कोई Program बनाते है, तो उसमे एक से अधिक Task करते है, किस Time कौन-सा Task Run कराना है, ये Decide करने के लिए Decision Making...
इस Article में हम Decision Making in C in Hindi को जानेगे। Programming में Decision Making का काफी Use है, जब हम कोई Program बनाते है, तो उसमे एक से अधिक Task करते है, किस Time कौन-सा Task Run कराना है, ये Decide करने के लिए Decision Making Statement का Use किया जाता है।
Decision Making Statement के Programming में कौन - कौन से Use हो सकते है। इसके कुछ पहले Idea Share कर रहा हूँ।
किसी Program में अगर हम Input में Name ले रहे है। तो एक Condition लगानी होगी की Enter की गयी Value String में होनी चाहिए। यदि वो Integer या Float है तो Error Show हो या तो नहीं।
अगर Voting का Program बना रहे है। तो Condition होगी अगर Age 18 के ऊपर है। तभी वो Voting के लिए Eligible होगा। अन्यथा नहीं होगा।
तो ऐसी बहुत सी Condition Create होती है, जो हम Decision Making Statement के द्वारा कर सकते है । अब जानते है, Decision Making Statement कितने प्रकार के होते है।
If Statement
If. else Statement
If else Ladder Statement
Nested If Statement
Switch Statement
Nested Switch Statement
Read Here - https://www.smartblogskill.com/2021/03/decision-making-in-c-in-hindi-c-in-hindi.html
C/C++ problems. If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends.
This article is the first part of a series of engineering articles designed to explain how you can create a lightweight scripting language based on C++ and commonly available technology.
In this Video We are going to see how to use Loops in C++. We will see How to use For, While, and Do While Loops in C++.
In this article, we'll take a look at using the isdigit() function in C/C++. This is a very simple way to check if any value is a digit or not. Let's look
In this C++ Tutorial we are going to talk about If Else Statement in C++ . using conditional statement we can execute some section of the code according to a condition. and particularly in this article we make some examples of if else condition. using if statement you can control if a program enters a section of code or not based on whether a given condition is true or false.