Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
int main() { // Trying to declare an array of both integers and floating point numbers int myArray[] = {25, 50, 75, 3.15, 5.99}; int i; for (i = 0; i < 5; i++) { printf("%d\n", myArray[i]); } return 0; }
25
50
75
3
5