سرمد الليل
- c++ & Assmbly
- طلب شرح اسئله فى السى بلس بلس
#include <iostream> using namespace std; int main() { int n,a,c; cout<<"enter three number"; cin>>n>>a>>c; if(n<a&&n<c) cout<<"their minimum is "<<n; if (a<c&&a<n) cout<<"their minimum is "<<a; if(c<n&&c<a) cout<<"their minimum is "<<c; return 0; }
- طلب شرح اسئله فى السى بلس بلس
هذا حل السوال الثالث #include <iostream> using namespace std; int main() { int n,a,c; cout<<"enter three number"; cin>>n>>a>>c; if(n<a&&n<c) cout<<n; if (a<c&&a<n) cout<<a; if(c<n&&c<a) cout<<c; return 0; }
- تعديل على الكود
السوال Convert the following do/while loop into a for loop and what the program works? #include <iostream> using namespace std; int main() { int n; cout << "Enter a positive integer: "; cin >> n; int sum=0,i=1; do { sum += i*i; } while (i++ < n); cout << "The …
- تصحيح كود c++
الله يجزاكم خير
- سوال بلغه c++
الله يجزاكم خير يااااارب ويسهل اموركم
- سوال بلغه c++
السوال: Write the program that work to strip off the digits one at a time from the integer that enter by user and then “accumulate” them on reverse in another integer: والسوال يجب فيه استخدام loop ولكن لم استطع استعمالها محاولتى #include <iostream> using names…
- تصحيح كود c++
السوال: Write a program that asks the user to enter the lengths of three sides of a triangle, then displays a message to indicate whether the triangle is a right triangle or not. Hints: -The triangle is right triangle when the square of the length of one side …
- كود بالكلاس
هذا السوال: Create product class. It contains name, price, discount percentage and price after discount as data members. - Define a default constructor to initialize all data members. - Define a member function that uses price and discount percentage to calcul…
- كود بالغه السى بلس بلس بستخدام الفنكشن والكلاس
السوال مو طالب داخل السيت يكون فيه ثلاثه فنكشن هذى محاولتى #include <iostream> using namespace std; class Time {private: int h,m,s; public: void set() { void ValidateoHour(int hh) {cout<<"Hour"; (hh>24||hh<0)?h=0:h=hh; } void ValidateMinute(int mm) {cout<<"Min…
- كود بالغه السى بلس بلس بستخدام الفنكشن والكلاس
ممكن احد يرد على الموضوع
- ياليت احد يشرح لى المطلوب من هذا السوال
طيب هذى محاولتى من خلال فهمى #include <iostream> using namespace std; struct Densitys { void ExtractMassVolume( int a,int b, int c, int d, int mass,int volume) { cin>>a,b,c,d; mass=ab/100; volume=cd%100; } void CalculateDensity(int Density ) ( cout<<"Density =…
- ياليت احد يشرح لى المطلوب من هذا السوال
ليش مااحد يرد
- ياليت احد يشرح لى المطلوب من هذا السوال
انا مااطلب حل السوال انما شرح المطلوب وهذا السوال Create a struct called Density that includes two data members{mass (type int) and volume (type int)}. Your struct should have two functions: 1. void ExtractMassVolume( ) This function should initialize the two …
- كود بالغه السى بلس بلس بستخدام الفنكشن والكلاس
انا حليت السوال وطالع لى الاوت بوت غير صحيح رياضيا وكامن لازم جمله شرط ولا عرفت احطها وهذا السوال : Create a class called Time that includes three pieces of information as data members{an hour (type int), minute (type int) and second (type int)}. • Provide a m…
- كود بلغه c++واستخدام الفنكشن
انتظررررررررررررررررر
- كود بلغه c++واستخدام الفنكشن
انتظررررررررررررررررر احد يحط لى الكود الصحيح ضرووووووووووووورى
- كود بلغه c++واستخدام الفنكشن
بالله ابى الكوووووووووووود الصيحيح لهذا السواااال
- كود بلغه c++واستخدام الفنكشن
طيب ممكن تحط لى الكود بعد التعديل لان بصراحه احط جمله الشرط ويطلع لى ارور
- كود بلغه c++واستخدام الفنكشن
بس مو لازم احط بالكود جمله شرط اذا عمره اكبر من 30 واذا اصغر والالا
- كود بلغه c++واستخدام الفنكشن
مافهمت ياليت توضح لى اكثر او تكتب لى الكود الصيحيح