BEPROGRAMMING Telegram 1387
👈 رابعاً : روابط الاسناد .

باستعمال عوامل التعين الحسابي يمكن إعادة كتابة تعبير مثل:
x=x+2
على النحو
x+=2
يأخذ عامل التعين الحسابي =+ القيمة الموجودة على يمينه ويضيفها إلى المتغير الموجود على يساره. هنالك تعين حسابي لكل من العوامل الحسابية:-

a+= b a= a+ b
a-= b a= a- b
a*= b a= a* b
a/= b a= a/ b
a%= b a= a% b
مثال:


#include<iostream.h>
main ( )
{
int n=10;

cout<< a+= 2 <<endl;
cout << a-= 2 <<endl;
cout<< a/= 2 <<endl;
cout<< a*= 2 <<endl;
cout<< a %= 2 <<endl;
return 0;
}

الخرج من البرنامج 👇

12
8
5
20
0


🖋 م . أحمد قطران

يتبع .... 👇



tgoop.com/Beprogramming/1387
Create:
Last Update:

👈 رابعاً : روابط الاسناد .

باستعمال عوامل التعين الحسابي يمكن إعادة كتابة تعبير مثل:
x=x+2
على النحو
x+=2
يأخذ عامل التعين الحسابي =+ القيمة الموجودة على يمينه ويضيفها إلى المتغير الموجود على يساره. هنالك تعين حسابي لكل من العوامل الحسابية:-

a+= b a= a+ b
a-= b a= a- b
a*= b a= a* b
a/= b a= a/ b
a%= b a= a% b
مثال:


#include<iostream.h>
main ( )
{
int n=10;

cout<< a+= 2 <<endl;
cout << a-= 2 <<endl;
cout<< a/= 2 <<endl;
cout<< a*= 2 <<endl;
cout<< a %= 2 <<endl;
return 0;
}

الخرج من البرنامج 👇

12
8
5
20
0


🖋 م . أحمد قطران

يتبع .... 👇

BY مستـ1ــوى حاسوب


Share with your friend now:
tgoop.com/Beprogramming/1387

View MORE
Open in Telegram


Telegram News

Date: |

Find your optimal posting schedule and stick to it. The peak posting times include 8 am, 6 pm, and 8 pm on social media. Try to publish serious stuff in the morning and leave less demanding content later in the day. Telegram channels enable users to broadcast messages to multiple users simultaneously. Like on social media, users need to subscribe to your channel to get access to your content published by one or more administrators. Ng, who had pleaded not guilty to all charges, had been detained for more than 20 months. His channel was said to have contained around 120 messages and photos that incited others to vandalise pro-government shops and commit criminal damage targeting police stations. There have been several contributions to the group with members posting voice notes of screaming, yelling, groaning, and wailing in different rhythms and pitches. Calling out the “degenerate” community or the crypto obsessives that engage in high-risk trading, Co-founder of NFT renting protocol Rentable World emiliano.eth shared this group on his Twitter. He wrote: “hey degen, are you stressed? Just let it out all out. Voice only tg channel for screaming”. On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information.
from us


Telegram مستـ1ــوى حاسوب
FROM American