نــــــــاصر
- مساعدة !
cout<<"inter integer no"; cin>>x; cout<<"side="<<x<<"\n"; for(int i=0;i<x;i++) } for(int j=0;j<x;j++) cout<<"*"; cout<<"\n"; }
- أستفسار في counter لو سمحتو ...ممكن
أريد عمل كونتر كل مرة يرفع القيمة بمقدار معين و يرفع القيمة كل 4 مرات بمقدار معين أخر يعني عند 1و2و3و4................30 تزيد القيمة 10000 و عند 4و8و16و......28 تزيد 500 for(int i=1;i<31;i++) { int j= i+10000; } for(int i=4;i<29;i=i+i) { int j= i+500; } عندي س…
- أسئلة أكتب برنامج .. write program بليز ..
Q1: Write a program that asks user to choose one of these shaps rectangle , right-angled triangle or square then print the selected one out of asterisks (*). knowing that you should read shape's dimension from user. Your output should be something like the fol…
- أسئلة أكتب برنامج .. write program بليز ..
Q3: Write a program that reads a set of integers, and then finds and prints the sum of the even and odd integers. input Example: How many numbers in your set of integers? : 6 2 4 3 6 7 1 Sum of odd numbers = 11 Sum of even numbers = 12 #include<iostream.h> #in…