في البورلاند برنامج السي بلاس بلاس عندي هالواجب الله يسعدها اللي تساعدني ..
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 :
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 )