✅ Practice if else || 8th Feb

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

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

  • @vineethkumarnaik8063
    @vineethkumarnaik8063 6 หลายเดือนก่อน

    Yes we understood if_else concept broo ❤❤

  • @user-sj3pt8sq9b
    @user-sj3pt8sq9b 6 หลายเดือนก่อน

    If is better sir

  • @sadhusasikala3992
    @sadhusasikala3992 3 หลายเดือนก่อน

    i completed this video and understand if - else concept.
    Program:
    #include
    int main() {
    int telugu=62,hindi=56, english=76,maths=99,science=62,social=52;
    int totalMarks=600;
    int obtainedMarks = telugu+hindi+english+maths+science+social;
    float percentage = ((float)obtainedMarks/totalMarks)*100;
    printf("Percentage: %.2f
    ",percentage );
    if (percentage>=70){
    printf("You have passed in distinction.");
    }
    else if(percentage=60){
    printf("You have passed in First Class.");
    }
    else if (percentage=50){
    printf("You have passed in Second Class.");
    }
    else {
    printf("failed!!! Better luck next time.");
    }
    return 0;
    }

  • @rekhaharikaharshita7153
    @rekhaharikaharshita7153 4 หลายเดือนก่อน

    This video is also completed bro

  • @sudhakarwellnesscoach7483
    @sudhakarwellnesscoach7483 7 หลายเดือนก่อน +1

    Super bro

  • @user-guru016
    @user-guru016 7 หลายเดือนก่อน +1

    int main() {
    int a = 30;
    int b = 35;
    int c = 29;
    int n = (float)a+b+c/150 * 100;
    if(n>70){
    printf("Passed in distinction");
    }else{
    if(n>=60 && n

    • @svgie2047
      @svgie2047  7 หลายเดือนก่อน +2

      if(n>=60 && n we no need to check n=70 is false => it will always < 70

    • @user-guru016
      @user-guru016 7 หลายเดือนก่อน

      ok bro. I got it@@svgie2047

    • @user-guru016
      @user-guru016 7 หลายเดือนก่อน

      ok bro got it...

  • @sailaxmikomirineni5336
    @sailaxmikomirineni5336 7 หลายเดือนก่อน +1

    recorded classes are also very good, after the live classes if you think any topic missed or wants to share its better to record and share.if you have time.

    • @svgie2047
      @svgie2047  7 หลายเดือนก่อน

      Sure

  • @dummarajesh9763
    @dummarajesh9763 7 หลายเดือนก่อน

    #include
    int main() {
    // Marks for three subjects
    int tel = 90;
    int hin = 59;
    int mat = 28;
    // total marks and percentage
    int sum = tel + hin + mat;
    float per = (sum * 100) / 300;
    printf("sum = %d
    per = % .2f
    ", sum, per);

    if (per > 70) {
    printf("Distinction
    ");
    }
    else{
    if (per >= 60) {
    printf("First Class
    ");
    }
    else{
    if (per >= 50) {
    printf("Second Class
    ");
    }
    else{
    if (per >= 40) {
    printf("Third Class
    ");
    }
    else {
    printf("Try next time
    ");
    }
    }
    }


    }
    return 0;
    }
    output :
    sum = 177
    per = 59.00
    Second Class

  • @angleammuluu1209
    @angleammuluu1209 7 หลายเดือนก่อน

    Can u conduct classes on evening bro if possible...

    • @svgie2047
      @svgie2047  7 หลายเดือนก่อน +1

      it is not possible because of my Office Timings and meetings

    • @angleammuluu1209
      @angleammuluu1209 7 หลายเดือนก่อน

      @@svgie2047Ok bro....I was unable to clear my doubts.....I was in school at that time bro ....

    • @svgie2047
      @svgie2047  7 หลายเดือนก่อน

      @@angleammuluu1209 We are planning few Q & A sessions on weekends
      very soon
      meanwhile - you can send your questions to email , i will try to explain

    • @angleammuluu1209
      @angleammuluu1209 7 หลายเดือนก่อน

      @@svgie2047 Tq bro .....