Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- float x;
- printf("Podaj x: ");
- scanf("%f", &x);
- printf("\nX wynosi : %f", x);
- printf("\n");
- printf("\n");
- if ( x <= 1 && x>= 0)
- {
- printf("dobrze");
- }
- else{
- printf("Podana liczba nie spelnia warunkow zadania.");
- }
- // printf("Hello world!\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement