السلام عليكم ورحمة الله وبركاته
أتمنى مساعدتي في هذا السؤال .
write the program that includes alogical operator in its if to determine wether the age is greater than 10 and less than 100 if the age is less than 10 or greater than 100 ,the program includes that the user did not enter avalid age
وهذه محاولتي
#include<iostream.h>
int main()
{
float Age;
cout<<"enter your Agen";
cin>>Age;
if((Age>10)(Age<100))
cout<<Age<<"n";
if((Age<10)(Age>100))
cout<<"did not enter avalid age";
return o;
}////التعديل الذي أجريته فقط لإظهار الكود بوضوح إسماعيل ابراهيم ////////