في البورلاند برنامج السي بلاس بلاس عندي هالواجب الله يسعدها اللي تساعدني ..
lab homework-2
sat.17/5/1431 – mon. 19/5/1431
1- what does the following program displays :
# include <iostream>
# include <conio>
void main ()
{
int count;
for (count=10 ; count>0 ; count--)
cout<< count*10<<endl;
getch();
}
output :
هنا تكتبي الــ output
زي ماطلعتلك في شاشة الرن السوداء ^^"
يعني تكتبي:
100
90
80
70
60
50
40
30
20
10
وبس
2write a program that displays only the odd numbers starting from 1, to a user defined end. (print the code , write your name on it and hand it with this paper in the next class )