#include <stdio.h>
#define maxsize 10
void quicksort (int a, int b);
//void mergesort ();
float ES26[11];
int i, j, k, x=1, mean, median, mode;
float *ptr, sum;
Type: Posts; User: Bebi
#include <stdio.h>
#define maxsize 10
void quicksort (int a, int b);
//void mergesort ();
float ES26[11];
int i, j, k, x=1, mean, median, mode;
float *ptr, sum;
I have this program and was wondering how to make it accept floating numbers instead of int
This is my first problem. can you have an array for floats?
#include <stdio.h>
float ES26[11];...
laserlight is the solution proposed by adak acceptable? just looking for a 2nd opinion. thanks a lot
cause the program i made was using int and i have problems in converting it where floats are involved
for example you are asked to input 10 numbers e.g. 1.23, 7.453, 45.7, 345 etc how are you going to convert these floats into int
I would like to use them with quicksort without using #include...