Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //while proba 1 > nem fut!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x = 0; //deklaralom hogy x=0
- //elkezdem a while reszt, amig 10 nem lesz 'x' erteke, X-eket for irogatni.. Minden x kiirasaval lefut a ciklus, igy +1 lesz 'x' erteke.
- while ( x > 10 )
- {
- std::cout<< x <<std::endl;
- x++;
- }
- std::cin.get();
- }
Add Comment
Please, Sign In to add comment