لــوو سمحتــووآ .. آبآ مسآاعدة في حل مسآئل ++C

    • لــوو سمحتــووآ .. آبآ مسآاعدة في حل مسآئل ++C

      السلام عليكم و رحمة الله و بركــآته ,,


      أتمنى أخوآني و أخوآتي تسآعوني ف حل هالمسائل ودي أراجع إجاباتها .. و لكم جزيل الشكر ع التعاون ..

      Q1) write a c++program to in put 2 integers, calcuate the value of the following expression
      (x+y) ÷ 3 – (x*y) mod 2. Then print the following output.
      This is the first exercise
      The result is : the value of the expression
      End of the program

      Q2) write a c++ program to display the following figure .




      Q3)
      A ) int min
      Integrer i=5.5,
      Float 5.5 =k;
      Cout<<"input two integers:";
      Cin >>i<<cin>>k;
      Return;
      Q4)what are the output of the following codes?
      A)
      Int x=5,y;
      Y=4*(x+4)%2;
      Cout<<"Y="<<Y;
      Cout <<"\t\tend"<<endl;




      b)
      int z=5, sum=0;
      cout<<'input number "<<endl;
      cin>>z;
      cout<<"z ="<<z<<endl;
      ++num;
      Num *=2;
      Cout <<"z="<<z<<endl;