CS201P- Assignment 2 Spring 2023 (100% Correct Solution)

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ •

  • @meharun9004
    @meharun9004 Рік тому

    Sir kindly ap short lecrures upload kre.

  • @mrsimple2.0
    @mrsimple2.0 Рік тому

    Sir in my Assignment Errors are coming... I comment the All coding. Sir Please reply . Time is too short for Submitting the assignment Of CS 201

  • @usmanelahi9564
    @usmanelahi9564 Рік тому +1

    sir yehi same code online to shi chal rha lekin dev c++ me error arha " stoi was not declared in the scope". Iska koi solution bata dain aur agr ye code aise hi save kr k submit kr dain to koi issue to ni?

    • @programmingwithimran
      @programmingwithimran  Рік тому +1

      You might be using older version of C/C++ compiler in Dev C++ Can you tell me the error?

  • @mrsimple2.0
    @mrsimple2.0 Рік тому

    #include
    using namespace std;
    unsigned int convertBarcodeToInt(string barcode)
    {
    unsigned int result = stoi(barcode);
    return result;
    }
    unsigned int performBitwiseAND(unsigned int num1, unsigned int num2)
    {
    return num1 & num2;

    }
    unsigned int divideByTwo(unsigned int number)
    {
    return number >> 1; //Bit-wise right shift by 1

    }
    unsigned int multiplyByTwo(unsigned int number)
    {
    return number

    • @programmingwithimran
      @programmingwithimran  Рік тому +1

      Add #include after #include

    • @mrsimple2.0
      @mrsimple2.0 Рік тому

      @@programmingwithimran Sir this is not working. because i checked already aur abi phr check kr k dekh liya ha,,, nhi kam kr raha,,,

  • @WayToAllah23
    @WayToAllah23 Рік тому +1

    Assalam O Alaikum Sir
    Any Way to Contact You Like Whatsapp No. Or Something else
    Need Your Help