thanks for the help guys, im just gunna give up on this one. i dont know what im doing so its no use. plus everytime i try to compile for some reason my .cpp files become unreadable and i have to...
Type: Posts; User: greatonesv
thanks for the help guys, im just gunna give up on this one. i dont know what im doing so its no use. plus everytime i try to compile for some reason my .cpp files become unreadable and i have to...
we have to use structs for this assignment, but i am lost as to what i am doing lol.
hey this is my first time writting C++ code and im having a bit of trouble switching over from c. i was wondering if someone wouldnt mind having a look at my code to see if they can spot anything...
I got the code working and everything is correct except, the pennies are off by 1 or 2 occasionally idk why.
#include <stdio.h>
#include <math.h>
void display_purpose(void);
double...
well i tried to make it return one value but now i get an imcompatible return type error.
#include <stdio.h>
#include <math.h>
void display_purpose(void);
double change_breakdown(double...
so how would i return multiple values then?
so i wrote up the program but for some reason, its not working and i cant see whats wrong. can any figure it out?
#include <stdio.h>
#include <math.h>
void display_purpose(void);
double...
thnx thantos that's what I was looking for .
you would give back 1 ten, 4 ones , 3 quarters , and 3 pennies. I don't know how to go about that though.
I'm trying to make a program that you enter the amount something costs and the amount of money you used to pay with, and the program tells you your change in how many 20's 10's 5's 1's quarters and...
Thank You , thats what i was doing wrong! thanks for your help guys.
i understand what your saying. i tried everything you have said and ive come up with a program that compiles, but the grades entered never get stored in the array. this is the code. sorry for being a...
i dont understand the whole passing a variable concept. if i want to pass Grades[10] to all the functions how would i do that without declaring a global.
i am taking my first C class and im having a bit of a problem understanding functions. can any of you see what my mistake is? The syntax eror i get is for undeclared variable Grades.
...