URI 1037 Interval solution in C
Hello ! Here is the solution of URI problem 1037. This might be hard to understand to some beginner.
Solution
We need to make a program that read a float-point number and print a message saying in which of following intervals the number belongs: [0,25] (25,50], (50,75], (75,100].
Input
The input file contains a floating-point number.
Sample input :
100.00
Output
The output must be a message like following example.
Sample output :
Intervalo (75,100]
Hope this will Help you <3
Comments
Leave a comment
You are not LoggedIn but you can comment as an anonymous user which requires manual approval. For better experience please Login.