#9: If Else Statements in C | C Programming for Beginners

preview_player
Показать описание
Step by step video tutorials to learn C Programming for absolute beginners!

In this video, we will learn about if-else statements in C programming. We will start with the syntax of the if statement and understand the logic. Then we will learn the syntax and logic to use else clause and else if clause with if statement. Finally, by understanding these concepts we will learn to create decision-making programs.

~

Watch our videos and revise them with our C App!

Timestamps:
00:00 Start
04:24 if..else Statement
06:33 else if Statement
11:26 Programming Task
12:32 Quiz

--------------------------------

Find Programiz elsewhere:

#programiz #ifelseinc #learncprogramming #learnc #coding #ctutorial #ccourse #ifelse#elseif #clause #statement #decisionmakingprogram #coding #programming
Рекомендации по теме
Комментарии
Автор

🔥Finding it Damn Hard to Understand C Programming?
Learn to code—the right way—with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT!

programizstudios
Автор

#include <stdio.h>
#include <stdbool.h>

//déclaration of variable
int main() {
double number;
printf("enter a double number");
scanf("%lf", &number);
if(number>0){
printf("number is positive");}
else if(number<0){
printf("number is négative");}
else{
printf("number is neutral");}
return 0;

}
assigment done

tatchim
Автор

You explain a lot better than my professor from college. Thanks for making things easier!

yunandaraung
Автор

i do not know why university Professors are making these easy lessons so much difficult and unbearing, Thank you @programiz

fountain
Автор

Your work is immaculate efficient and you are truly an inspiration.
I was not doing well at all at University of but now you have given
Me new hope.
Thank you!!!

erlnd
Автор

The answer is A: inside if
Also love your tutorials they're amazing. Keep it up👍

srpcdgaming
Автор

I tried to watch different video on the topic but this one is different and concise.
Thank you ms!

aysham.
Автор

Ma'am, these lectures are very helpful.

krishsharma
Автор

one of the best c tutorials i have ever seen!!😊😊

alirezaz
Автор

God bless u ma’am. I love how she explains things very fluently ✍🏾

nickjonaz
Автор

Wonderful Explanation with very short examples which are easy to follow.

boramawi
Автор

The cutest programming teacher ever. Thanks for making it easier to understand.

TewodrosBaye
Автор

/*
Can you create a program to check whether a number is positive
or negative or 0?
To create this program, create a variable
named number and assign a double value to it based on the user
input. Then using an if statement,
check if the number variable is positive or negative or 0.
> If number is positive, print"The number is positive"
> If number is negative, print"The number is negative"
> If number is 0, print "The number is Zero"
*/
#include <stdio.h>

int main() {
double number;

printf("Please write your number and I will let you know if its \npositive number, \nzero, or \nnegative number:\n");
scanf("%lf", &number);

if (number < 0){
printf("The number is negative.");
}
else if (number == 0){
printf("The number is Zero.");
}
else if (number > 0){
printf("the number is positive.");
}

return 0;
}

AlaskarAbdoul
Автор

my life saviour...u made me develop interest in c by taking away my aversion..thanks mam

neetdiagramacticlearning
Автор

I love this video ❤️, I understood it perfectly well

flick-ict
Автор

really helpful course, simple and effective explanation

raghumandatanush
Автор

Wow, This video Really Helped me in understanding the if/else statements in C. Thank You @programiz for these lessons, God Bless You

henryalbrightekenimdeokpos
Автор

It, s amazing
thank you for your efforts

flashman
Автор

been learning a lot. also the phone application has good notes to refer to

paulmuchemwa
Автор

Mam these videos are very useful. Thank you for helping us. If possible please make a series on c++ language and dsa in it. this will be very benificial for me and many more like me. Thank you.]

easyorganic
welcome to shbcf.ru