السلام عليكم ورحمة الله
اهلاوسهلابكم في قناتنا
#include<iostream>
using namespace std ;
main ()
{
int a, h, k,j;
for (a =1 ;a <10 ;a++)
{
for (h =a ;h <10 ;h++)
cout <<"*";
cout <<"+";
cout <<endl ;}
for (j =1 ;j <15 ;j++)
{
for (k =j;k<10 ;k++)
cout <<"♥";
cout <<endl ;}
}
/*عمل تشكيلات روعه بنجوم * وقلب ♥جربها
*/
using namespace std ;
main ()
{
int a, h, k,j;
for (a =1 ;a <10 ;a++)
{
for (h =a ;h <10 ;h++)
cout <<"*";
cout <<"+";
cout <<endl ;}
for (j =1 ;j <15 ;j++)
{
for (k =j;k<10 ;k++)
cout <<"♥";
cout <<endl ;}
}
/*عمل تشكيلات روعه بنجوم * وقلب ♥جربها
*/
خوارزمية تقوم بتشكيله مثلث بـ*
#include<iostream.h>
int main()
{
int i,n_row,j,f;
cout<<" enter the number of rows"<<endl;
cin>>n_row;
for(i=1;i<=n_row;++i)
{
for(j=1;j<=i;++j)
cout<<"*";
cout<<endl;}
return 0;
}
int main()
{
int i,n_row,j,f;
cout<<" enter the number of rows"<<endl;
cin>>n_row;
for(i=1;i<=n_row;++i)
{
for(j=1;j<=i;++j)
cout<<"*";
cout<<endl;}
return 0;
}
#include <iostream>
using namespace std;
int main(){
cout<<"\tبرنامج لطباعة اكبر عدد بين 5 ارقام \n";
int x[5]={50,70,80,100,40};
int a=0;
for(int i=0;i<=5;i++)
{
if(a<x[i])
a=x[i];
}
cout<<a<<endl;
return 0;
}
using namespace std;
int main(){
cout<<"\tبرنامج لطباعة اكبر عدد بين 5 ارقام \n";
int x[5]={50,70,80,100,40};
int a=0;
for(int i=0;i<=5;i++)
{
if(a<x[i])
a=x[i];
}
cout<<a<<endl;
return 0;
}
اكتب برنامج يسمح للمستخدم بادخال رقم الطالب ليقوم بطباعه اسمه والقسم والمستوى بحيث سيتم تخزين قيم لثلاثة طلاب فقط وفي حال ادخل المستخدم رقم طالب غير موجود يعطيه رساله ليس موجود
#include <iostream>
using namespace std;
int main(){
int n;
cout <<"**________ادخل رقم الطالب _**\n";
cin>>n;
if(n==123){
cout<<"your name is yahya. \n your department is :information system. \n your level is first";
}
else if(n==124){
cout<<"your name is harth. \n your department is :information system. \n your level is second";
}
else if(n==112){
cout<<"your name is jeehad. \n your department is :information system. \n your level is third.";
}
else {
cout<<"sorry this student not here.";
}
return 0;
}
using namespace std;
int main(){
int n;
cout <<"**________ادخل رقم الطالب _**\n";
cin>>n;
if(n==123){
cout<<"your name is yahya. \n your department is :information system. \n your level is first";
}
else if(n==124){
cout<<"your name is harth. \n your department is :information system. \n your level is second";
}
else if(n==112){
cout<<"your name is jeehad. \n your department is :information system. \n your level is third.";
}
else {
cout<<"sorry this student not here.";
}
return 0;
}
قناة تعلم لغة سي شارب برمجة تصميم واجهات سي بلس بلس جافا سكربت تطبيقات شروحات بي دي اف
اكتب برنامج يسمح للمستخدم بادخال رقم الطالب ليقوم بطباعه اسمه والقسم والمستوى بحيث سيتم تخزين قيم لثلاثة طلاب فقط وفي حال ادخل المستخدم رقم طالب غير موجود يعطيه رساله ليس موجود
#include <iostream>
using namespace std;
int main(){
int a;
cout <<"Enter the number student ";
cin >>a ;
switch (a) {
case 223 :cout<<"student name : jihad \n depatment : informations system \n level :first "<<endl;
break ;
case 224 : cout <<"student name :yheya \n depatment: informations system \n level : three"<<endl ;
break ;
case 225 : cout <<" student name : Ali \n depatment: informations system \n level : two ";
break ;
default :cout <<"ererr \n plase Enter numbers 223 224 or 225 only ";
}}
using namespace std;
int main(){
int a;
cout <<"Enter the number student ";
cin >>a ;
switch (a) {
case 223 :cout<<"student name : jihad \n depatment : informations system \n level :first "<<endl;
break ;
case 224 : cout <<"student name :yheya \n depatment: informations system \n level : three"<<endl ;
break ;
case 225 : cout <<" student name : Ali \n depatment: informations system \n level : two ";
break ;
default :cout <<"ererr \n plase Enter numbers 223 224 or 225 only ";
}}
وأنت تدرس وتجتهد وتبحث عن الكمال في الدرجات والمعدل لا تفرط في جلد ذاتك ولومها والاكثار من كلمة (لو)، فعلت ما في وسعك وبذلت كل طاقتك لا لوم عليك بعدها، لا تقارن نفسك بغيرك ولا تلتفت لمن يحطمك، افرح بما حققته مهما كان، مافائدة أن تتخرج ونفسيتك مدمّرة روحك متعبة وشغفك منطفئ 💜