//حدد الخطأ المنطقي
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
char w= a ;
int d=2;
d=d+w;
cout<<d;
while(w<= z ){
cout<<w<<endl;
d++;
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
char w= a ;
int d=2;
d=d+w;
cout<<d;
while(w<= z ){
cout<<w<<endl;
d++;
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//حدد المخرجات
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
char w= a ;
int d=2;
d=d+w;
cout<<d;
while(w<= z ){
cout<<w<<endl;
w++;
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
char w= a ;
int d=2;
d=d+w;
cout<<d;
while(w<= z ){
cout<<w<<endl;
w++;
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
المخرجات
99a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
99a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//حدد المخرجات
#include <iostream>
#include <math.h>
using namespace std;
int main(){
for(int i=0; i<5; i++){
for(int j=0; j<5; j++){
if(i*i==2 || j*j==2)
cout<<i*j;
else
cout<<" ♡ ";
}
cout<<endl; }
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
#include <iostream>
#include <math.h>
using namespace std;
int main(){
for(int i=0; i<5; i++){
for(int j=0; j<5; j++){
if(i*i==2 || j*j==2)
cout<<i*j;
else
cout<<" ♡ ";
}
cout<<endl; }
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
//حدد المخرجات
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
int x,w=2 , a=2;
cout<<"Enter the x: ";
cin>>x;
if(x > 0){
w+=2*a*a;
x=3*w;}
else
if(x < 0){
w=3*(a)+5;
x=2*w;}
else
if(x ==0){
w=5*a*a*a-2;
x+=2*w;
}
cout<<w+x;
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//حدد المخرجات
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
int x,w=2 , a=2;
cout<<"Enter the x: ";
cin>>x;
if(x > 0){
w+=2*a*a;
x=3*w;}
else
if(x < 0){
w=3*(a)+5;
x=2*w;}
else
if(x ==0){
w=5*a*a*a-2;
x+=2*w;
}
cout<<w+x;
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
المخرجات
اذا ادخل المستخدم رقم موجب مثل.
x=2
40
اذا ادخل المستخدم رقم سالب
مثل
x=-2
33
اذا ادخل المستخدم رقم صفر
مثل
x=0
114
المخرجات
اذا ادخل المستخدم رقم موجب مثل.
x=2
40
اذا ادخل المستخدم رقم سالب
مثل
x=-2
33
اذا ادخل المستخدم رقم صفر
مثل
x=0
114
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
//حدد المخرجات
#include <iostream>
#include <conio.h>
#include <math.h>
using namespace std;
int main(){
int i;
for(i=0; i<5; i++){
i*10;
if(i<3)
cout<<pow(2,i)<<"\t"<<pow(3,i)<<endl;
else
cout<<sqrt(pow(2,6))<<"\t";
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//حدد المخرجات
#include <iostream>
#include <conio.h>
#include <math.h>
using namespace std;
int main(){
int i;
for(i=0; i<5; i++){
i*10;
if(i<3)
cout<<pow(2,i)<<"\t"<<pow(3,i)<<endl;
else
cout<<sqrt(pow(2,6))<<"\t";
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
//حدد المخرجات
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
int i,j;
for(i=3; i>=0; i--)
{for(j=0; j<5; j++){
if(i==0 || j==2)
cout<<i*j;
else
cout<<" ";
}
cout<<endl;
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//حدد المخرجات
#include <iostream>
#include <conio.h>
using namespace std;
int main(){
int i,j;
for(i=3; i>=0; i--)
{for(j=0; j<5; j++){
if(i==0 || j==2)
cout<<i*j;
else
cout<<" ";
}
cout<<endl;
}
getch();
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//حدد المخرجات
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
#include <iostream>
using namespace std;
int main ()
{
int a = 99;
switch (a)
{
case 1:
a += 5;
case 2:
a += 23;
case 99:
a += 12;
case 100:
a += 10;
}
cout << a;
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
#include <iostream>
using namespace std;
int main ()
{
int a = 99;
switch (a)
{
case 1:
a += 5;
case 2:
a += 23;
case 99:
a += 12;
case 100:
a += 10;
}
cout << a;
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//اكتب برنامج يطلب إدخال وزن المستخدم بالكيلو وطباعه الناتج بالباوند. حيث 1k=2.2pound
#include <iostream>
using namespace std;
int main(){
float n;
float const kg=2.2;
cout<<"please enter your weight with kilo gram\n";
cin>>n;
cout<<"your weight is"<<n*kg <<"pound"<<endl;
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
#include <iostream>
using namespace std;
int main(){
float n;
float const kg=2.2;
cout<<"please enter your weight with kilo gram\n";
cin>>n;
cout<<"your weight is"<<n*kg <<"pound"<<endl;
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
//برنامج يقوم بقراءة عدد الثواني (عدد صحيح) ومن ثم يطبع عدد الساعات وعدد الدقائق وعدد الثواني مثل:ادخل 3750 فالناتج كالتالي 30:2:1
#include <iostream>
using namespace std;
int main(){
int n, hour, minute, second;
cout <<"please enter the second\n";
cin>>n;
hour=n/3600;
minute=(n%3600)/60;
second=(n%3600)%60;
cout<<hour<<":"<<minute<<":"<<second<<endl;
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
#include <iostream>
using namespace std;
int main(){
int n, hour, minute, second;
cout <<"please enter the second\n";
cin>>n;
hour=n/3600;
minute=(n%3600)/60;
second=(n%3600)%60;
cout<<hour<<":"<<minute<<":"<<second<<endl;
return 0;
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
آ๘ﮩ₰ﮩ₰ﮩ.❥ُ ِ ...:
برنامج لطباعه حرفي 😊 E
#include<iostream>
using namespace std;
int main ()
{
int i , b;
for(i=1; i<=11; i++)
{
for(b=1; b<=10; b++)
{
if(i==1 || b==1 || i==6 || i==11)
cout<<"*";
else
cout<<" ";
}
cout<<endl;
}
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
برنامج لطباعه حرفي 😊 E
#include<iostream>
using namespace std;
int main ()
{
int i , b;
for(i=1; i<=11; i++)
{
for(b=1; b<=10; b++)
{
if(i==1 || b==1 || i==6 || i==11)
cout<<"*";
else
cout<<" ";
}
cout<<endl;
}
}
مٌسِتْوَى اوَلُ ْعلُوَمٌ حُاسِوَبّ جْامٌْعُه ذَمٌارَ
@Beprogramming
اي طالب معه مشاركات خاصه بالي ندرسه يراسلني عبر معرفي اضيفها في القناه
@Lonely_e
اي مواضيع متوسعه مرفوضه
@Lonely_e
اي مواضيع متوسعه مرفوضه