Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- int main(int argc, char *argv[]) {
- printf("Ti epithimeis na anakikloseis?\n");
- char eidos[10];
- scanf("%s",eidos);
- int counter;
- counter = 1;]
- int posotita;
- do
- {
- printf("dose posotita megaliterou tou 1 kai mikroteri tou 10\n");
- scanf("%d",posotita);
- if(posotita>=1 && posotita<=10){
- counter = 0;
- }
- }while(counter==1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement