Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (zahl3 != 1)
- {
- if (zahl3 % teiler != 0)
- {
- while (zahl3 % teiler != 0)
- {
- teiler++;
- if (zahl3 % teiler == 0)
- {
- zahl3 = zahl3 / teiler;
- cout << teiler << " ";
- }
- }
- }
- else {
- zahl3 = zahl3 / teiler;
- cout << teiler << " ";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement