تعلم البرمجة بلغة ++C
Ir al canal en Telegram
💻 الى كل المبرمجين 🔴سوف تجد شرح لغة السي بلاس بلاس للمبتدئين حتى الاحتراف 📺فيدوهات شرح عديدة 🎥 برامج مجانية 🎁 مشاريع مجانيه 📚 كتب تصميم وبرمجة 📚 مراجع واسئلة محلولة 💻برامج واكواد كثيرة كل ذلك في قناتي 👇 https://t.me/LearnCPlus_Plus
Mostrar más2 313
Suscriptores
Sin datos24 horas
-57 días
-2430 días
Archivo de publicaciones
"وَلَمَّا بَلَغَ أَشُدَّهُ آتَيْنَاهُ حُكْمًا وَعِلْمًا"
بعض العطايا يجب أن تتأخر
لأنها لو أتت باكراً لربما لم نكن لنحافظ عليها
الله دوماً يختار لنا التوقيت الأمثل✨❤️
#include <iostream>
using namespace std;
int main (){
int a[5] ;
int n ,h=0;
cout <<"please enter item array"<<endl;
for (int i =0; i <=4 ; i ++)
cin >> a [i];
cout <<"please enter number searching"<<endl;
cin >>n ; cout<<"____"<<endl;
for (int i =0 ; i <=4; ++i)
if (a [i]== n){
cout <<a[i]<<" ";}
cout <<endl <<"the order for number searching"<<endl;
for (int i =0 ; i <=4; ++i)
if (a [i]== n){
cout <<"a["<<i<<"]"<<" ";
h+=1;}
cout <<endl;
if (h==0)
cout <<"not found";
else
cout <<"found"<<" "<<h<<" "<<"number";
return 0;}
//برنامج يقوم بطباعة الاعداد المكررة في المصفوفة
Nanotechnology_For_Dummies_by_Earl_Boysen,_Nancy_C_Muir,_Desiree.pdf17.43 MB
#include <iostream>
using namespace std;
int main()
{
int n,first,last,sum;
cout << "\n\n Find the sum of first and last digit of a number:\n";
cout << "------------------------------------------------------\n";
cout << " Input any number: ";
cin >> n;
first = n;
last=n % 10;
for(first=n;first>=10;first=first/10);
cout<<" The first digit of "<<n<<" is: "<<first<<endl;
cout<<" The last digit of "<<n<<" is: "<<last<<endl;
cout<<" The sum of first and last digit of "<<n<<" is: "<<first+last<<endl;
}
//دالة تستقبل عدد صحيح ثم تطبع مجموع الخانة الاولى والخانة الاخيرة للعدد (مثلاً إذاكان الرقم 7658 الناتج 7+8 = 15 )؟
¡Ya disponible! Investigación de Telegram 2025 — los principales insights del año 
