Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void main()
- {
- int Zahl = 1, Zaehler;
- printf("Zahl n eingeben: ");
- scanf("%d", &Zahl);
- if(Zahl >= 15){
- printf("Falsche Eingabe");
- }
- while(Zaehler <=8){
- Zahl = Zahl * 2;
- printf("%d\n", Zahl);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement