0
at c language , How do i enter more than one value for the same variable so that it depends on the last value
please answer me 💔
8 odpowiedzi
+ 2
do {
scanf("%d", &num);
} while(num == 0);
+ 2
thanx all
+ 1
thanx bro
0
if i have variable and want the user to enter a certain value but if enter 0 for example i will ask him to enter true number and show (scanf) agin for the same variable
0
look bro , i have howework fo make pyramid
prompts the user for the pyramid’s height, storing their input in a variable, re-prompting the user again and again as needed if their input is not a positive integer between 1 and 8, inclusive.