Learn programming now 13 ( Simple input example C++)

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2024
  • In this video, I make a program, that asks the user to enter his/her name and his/her 3 grades. The program will be able to take those values in, and calculate the average grade. Then the program will show that average on the screen for the user to see. It's really easy to follow, it'll get you understanding CIN even better.

ความคิดเห็น • 18

  • @apeerzada987
    @apeerzada987 10 ปีที่แล้ว +1

    Kaled, you and your unmatched tutorials are the one thing us wannabe programmers want!
    God bless you, Kaled!
    Stay Awesome, Remain Peaceful!

  • @LeetTown
    @LeetTown 13 ปีที่แล้ว

    I've watched up to part 13 so far and have learned a lot.
    Really enjoying the videos, thanks for uploading them.

  • @FLuXGriZzly
    @FLuXGriZzly 12 ปีที่แล้ว

    wow dude picking this up in matters of mins... you seriously are doing a great job its a huge help im sure everyone fully appreciates your hard work

  • @DonDogg
    @DonDogg 12 ปีที่แล้ว

    You are hands down the best online instructor I've seen for starting to learn HLLs, I really appreciate it. I however have a question for you concerning this video. I copied your code and played with it for a while. One of the times, I figured "Hey, I'll type in my first and last name." Having a space in the name caused the rest of the cout statements to pop up instantaneously - the average calculated (even though I didn't get the opportunity to type numbers) is -9.25596e+061.

  • @NowExplain
    @NowExplain  13 ปีที่แล้ว

    @PokerDavidD I'm glad that your question was answered! You have described it correctly :)

  • @marc15yo
    @marc15yo 13 ปีที่แล้ว

    great video again

  • @PokerDavidD
    @PokerDavidD 13 ปีที่แล้ว

    So, when making comments that you do not wish to affect the program, I understand using the //. It was not clear to me if you must designate the end of the comments in some way before again writing code. It is automatic when you go to the next line? And must you start on a new line before writing additional code after making comments?

  • @DonDogg
    @DonDogg 12 ปีที่แล้ว

    My question isn't "How can I fix this?" but rather "Why did this happen?" Just curious is all. Regardless, keep up the great videos. I will have to try the Nutella thing you did hahaha

  • @estapraqkahlil6070
    @estapraqkahlil6070 12 ปีที่แล้ว

    Kahlid, what about the float type, is there any such a thing in C++?

  • @Raphael-uy2jo
    @Raphael-uy2jo 10 ปีที่แล้ว

    my program works, but when the average is a decimal it doesn't show the decimal even though i declared the average as "double"

  • @camusfranco8822
    @camusfranco8822 11 ปีที่แล้ว

    my program is working, but if I don't enter the data quickly enough it jumps right into saying "press to continue..." it doesn't wait for me to input the data... help please

  • @shat104
    @shat104 11 ปีที่แล้ว

    did you figure it out yet? because I am having the same issue.

  • @PokerDavidD
    @PokerDavidD 13 ปีที่แล้ว

    Never mind about the question below. You answer it in your next video. // is for one line of comment and does not need a termination directive. For a block of comments start with /* and end with */.

  • @tarketosun
    @tarketosun 10 ปีที่แล้ว

    When I launch my program It says enter your name enter your first grade bla bla bla
    but when I write 3rd grade It just closes :/

  • @MrDifmaster
    @MrDifmaster 11 ปีที่แล้ว

    Why use double instead of float?

  • @roguenealer
    @roguenealer 11 ปีที่แล้ว

    make sure you didnt put anything in capitol letters

  • @zdplayer2
    @zdplayer2 12 ปีที่แล้ว

    it should should be std::iostream that is why.

  • @DonaldRecord
    @DonaldRecord 11 ปีที่แล้ว

    Honestly, no I didn't...