C++ Programming Tutorial 33 - If Statement Practice

  Рет қаралды 63,616

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер: 35
@samsonmayeem8409
@samsonmayeem8409 4 жыл бұрын
Caleb's here! Great
@brocklesnarufcchamp1
@brocklesnarufcchamp1 3 жыл бұрын
Don't forget guys the 'else' doesn't need a condition to work.
@blakeb332
@blakeb332 4 жыл бұрын
Thanks caleb i have been making my if statements a little messy. The way you did it makes it easier to read and more organized. Keep up great work. if(){ }
@guitarhax7412
@guitarhax7412 5 жыл бұрын
Good shit man. 33 down 68 more to go.
@codebreakthrough
@codebreakthrough 5 жыл бұрын
Finish tonight!
@jesstrek
@jesstrek 5 жыл бұрын
Me too, doing a few each day
@akking8406
@akking8406 4 жыл бұрын
@@jesstrek same
@misterengineer6187
@misterengineer6187 4 жыл бұрын
Are you guys done yet? :D
@miguelbarroso_
@miguelbarroso_ 4 жыл бұрын
@@misterengineer6187 Are you done yet? I'm two months later lol.
@rodrigoarguetaalba2526
@rodrigoarguetaalba2526 4 жыл бұрын
The if statement doesn’t work if it has =? I.e. if (x=3)
@dihydrogen
@dihydrogen 4 жыл бұрын
It won't work because = assigns a variable to something. == compares the two values.
@justscrollingthroughthecom8698
@justscrollingthroughthecom8698 5 жыл бұрын
Tysm!!
@piglet2548
@piglet2548 3 жыл бұрын
why do we need return 0?
@OPP534
@OPP534 4 жыл бұрын
Love your content bro. Why don’t use using namespace STD it seems all that std cout is a mess
@inconnn
@inconnn 4 жыл бұрын
the thing about using is that it can cause namespace conflicts, like if two namespaces have the same function name, the compiler won't know which one you're meaning to say. if you're not using any libraries or stuff it'd prob be fine to do using namespace std but i think you can just do like using std::cout or etc so that only some don't need namespaces while all the others still do.
@TheOneAndOnlyLogono
@TheOneAndOnlyLogono 11 ай бұрын
I'm trying to learn c++ and I'm only familiar with java processing, would you say they are somewhat similar
@Sebi-py2gx
@Sebi-py2gx 2 жыл бұрын
what app are you using to write codes in c++. or the app you used in this video?
@iyanareef
@iyanareef 2 жыл бұрын
looks like VS code
@ubuntujackson9133
@ubuntujackson9133 2 жыл бұрын
What about #if and #endif?
@Khalevvv
@Khalevvv 2 жыл бұрын
Came for the c++ subbed cuz of your name 😎
@creativexgamer5845
@creativexgamer5845 Жыл бұрын
1:20
@russellzimbwa2671
@russellzimbwa2671 5 жыл бұрын
Hey man How do you make sure your IF Statements dont mixx
@PunmasterSTP
@PunmasterSTP 3 жыл бұрын
I think the “else if” and “else” statements tack onto the “if” statement before them. If you want, you can also put an if statement *inside* of another if statement (or another code block like an else). In that case, it’s called a “nested” if statement, and I think you can go as many levels deep as you want…
@Adam-kk7nw
@Adam-kk7nw 2 жыл бұрын
Daddy chilled
@AhsanAligood
@AhsanAligood 3 ай бұрын
GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD
@orinodenzelle2506
@orinodenzelle2506 3 жыл бұрын
how make one statement using if statement
@raafatawar8005
@raafatawar8005 4 жыл бұрын
i got an error saying cout is not a member of std lol
@trendingtv7759
@trendingtv7759 4 жыл бұрын
Can help me answer my activity?😔 please😔 for your next video please "make a program that prompts the user to input an int variable named num. The program should then output the variable num and a message saying wether the number is positive, negative, or zero". Please help me😔 I'm a 1st year college Information Communication Technology😔 it is our activity😔 I dont know what to do because I don't have loptop to try. Please help make a video for my activity😔
@thaufi131
@thaufi131 4 жыл бұрын
#include using namespace std; int main() { int n; coutn; if (n>0){ cout
@IloveYou-jr7jn
@IloveYou-jr7jn 4 жыл бұрын
Please help me with this Write an if statement that assigns the number 10 to the bonus variable if the user enters a sales amount that is less than or equal to $250. If the user enters a sales amount that is greater than $250, prompt the user to enter the bonus rate, and then multiply the user’s response by the sales amount and assign the result to the bonus variable.
@000-q4u
@000-q4u 3 жыл бұрын
#include int main() { std::cout sales_amount; if (sales_amount
@nunothedude
@nunothedude 3 жыл бұрын
ok wtf i did exactly what is described in the video and it doesent work, heres the code: #include int main() { std:: cout > age; if (age < 20) { std::cout
@nunothedude
@nunothedude 3 жыл бұрын
#include int main() { std:: cout > age; if (age < 13) { std::cout
@StopRemindingMeOfThoseDays
@StopRemindingMeOfThoseDays 3 жыл бұрын
How does it not work? What output are you getting?
@PunmasterSTP
@PunmasterSTP 3 жыл бұрын
What IF everyone who started on the first video was still here? Ans: There’d be a lot more views.
C++ Programming Tutorial 34 - Logical and Comparison Operators
10:52
Learn C++ With Me #8 - If, Else & Else If
17:05
Tech With Tim
Рет қаралды 40 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
C if statements ✔️
4:06
Bro Code
Рет қаралды 64 М.
Switch Statement - C++ Tutorial 11
9:17
Caleb Curry
Рет қаралды 8 М.
x86 Assembly: Hello World!
14:33
John Hammond
Рет қаралды 1,4 МЛН
C++ if statements (#6) ❓
14:05
Bro Code
Рет қаралды 8 М.
My 2 Year Journey of Learning C, in 9 minutes
8:42
VoxelRifts
Рет қаралды 690 М.
The 'if-else' Statement in C++
10:19
Neso Academy
Рет қаралды 93 М.
C++ Programming Tutorial 39 - Do While Loop
8:35
Caleb Curry
Рет қаралды 49 М.
C++ Programming Tutorial 24 - String Class and C Strings
10:03
Caleb Curry
Рет қаралды 63 М.