Joined
Last Seen
0 Reputation Points
27% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
0 Endorsements
Ranked #54.9K
Hi! how do you get this output? Income for the current pay period : -24 **Value must be greater than 0.0 **Try again. : 24.. **Trailing character encountered **Try again. : 24 When it gets a value higher than 0 it ends the program i typed the few codes for … | |
#include<stdio.h> main (){ double I; printf ("Enter the value : "); scanf ("%lf",&I); while(I<=0){ printf("**Value must be greater than 0.0\n"); printf("**Try again. : "); scanf ("%lf", &I);} WHAT DO I HAVE TO ENTER HERE? printf(" I is %lf\n", I); }[code]Hi! I create a code so that it checks if the … |