When people ask me why I drive standard over an automatic, I simply tell that I get bored and like switching gears. well enough of bad analogies thanks for the suggestions and the sample code.
Type: Posts; User: Kinto
When people ask me why I drive standard over an automatic, I simply tell that I get bored and like switching gears. well enough of bad analogies thanks for the suggestions and the sample code.
Well so far i'm getting the output I was expecting. I thought about using a string but felt more comfortable using char[]. I need more practice with string as I moved from C to C++.
Thank you for the help, i tried using && but not && and != and now that I look at the code you provided it makes sense.
hello, I'm working on a roman numeral converter, but I'm having trouble validating that the user input is valid. Even when I input a valid roman number the following function returns false. Can...
Well the prof describes it as a vending machine program but there are no menus, the user just enter an amount that is multiple of 5 and i'm supposed to display the change due in terms of quarters,...
Getting late, I guess I'll resume tomorrow. Thanks for all the help.
Fixed that and sorted the average, but what do i need to sort the struct? now the students have the wrong average.
Might as well ask now, if I want to sort the struct by student average in descending order what can i do? I tried doing something like this but didn't work.
void sort(Student s[], int count)
{...
Thanks for the help, this is my current code, took sometime to reply, doing homework and watching boxing may have clouded my thoughts. lol
# include <stdio.h>
# include <stdlib.h>
typedef...
I'm doing a grading report and I have trouble with my average function. This is what I have so far.
# include <stdio.h>
# include <stdlib.h>
typedef struct GRADEREPORT
{
int id;