المشاركة الأصلية كتبت بواسطة Kudo_Lover
السلام عليكم و رحمة الله و بركاته
عندي سؤال شكله غبي! بس انا مبتدأه ..
شو هو الخطأ في هذا الكود ..
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main ();
{
int num1, num2;
cout << "Enter the two values that you want to know the relationship between";
cin >> num1 << endl; num2 << endl;
cout << "**********************";
if (num1 < num2)
cout << num1 "is less than" num2 << endl;
if (num1 is > num2)
cout << num1 " is greater than" num2 << endl;
if (num1 != num2)
cout << num1 " is not equal to" num2 << endl;
if (num1 == num2)
cout << num1 " is equal to" num2 << endl;
return 0;
{
انا استخدم برنامج Visual C++
لا هنتو,,
المفضلات