Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cs50.h>
- #include <stdio.h>
- int main(void)
- {
- int j;
- printf("height: ");
- do
- {
- j = get_int();
- }
- while(j >=0 && j<24);
- if(j<0 || j>=24)
- {
- printf("height:\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement