Posts by Dev • 45 points
3 posts
-
1
votes0
answers423
views -
1
votes1
answer85
viewsQ: How to transfer an array of floats to an array of integers?
How do I convert an array of floats to an array of integers? Ex: float grade{12.30, 15.55, 16.25, 0.00, 3.68} Output: {12, 15, 16, 0, 3}
-
0
votes1
answer54
viewsQ: "Compress" values from an array of shorts, to an array of integers
Good evening. I have to solve an exercise for evaluation in which I have no idea how to do it. I have to compress 2 consecutive values of an array of shorts to be saved in an array of integers. This…