reviewing for my final and my professor posted some example questions that might be on the test i know you guys on here dont help with homework but this isnt homework just a question of what you guys...
Type: Posts; User: surfingbum18
reviewing for my final and my professor posted some example questions that might be on the test i know you guys on here dont help with homework but this isnt homework just a question of what you guys...
int readfile(FILE *ifp, struct employee list[]){
//define ints
char LastName[MAX_LEN];
char FirstName[MAX_LEN];
int clockinhr = 0, clockinmin = 0, clockouthr = 0, clockoutmin...
lol this kid must be in my class right now im pretty stuck on the same problem mainly having issues figuring out where to start i mean it has to be done with structures but i dont really know how to...
worked great thanks i thought thats where it needed to go but for some odd reason it wasnt working fiddled with it now it does thanks!
this is just a quick question should be easy... but if im opening a file to be read in like input.txt where do i put the input.txt file?
//Cost to buy chips.
#define CHIP_BUYING 11
//This is for the buying chips
int buychips(int *cash);
int main (){
if (choice == 1){
what if instead of dividing im trying to do a mod would it be
a = (double)((b)%A)*11;
keeping that in mind A is the defined constant at the beginning of my program no matter how i move it...
ok so the program i have to right for class has me defining a constant call it A
well later in the program i want to call it as a double... ive tried looking all over and when i do something like ...
ok got it to print out proper outputs awesome ya! cool now where i start getting more irritated haha so check it out:
now what im trying to do is get it to produce a count of the total number of...
there isnt i know because i cant figure out a exact statement that will output the factors of whatever the user inputs for example if he inputs 10 itll print out 1,2,5,10 thats all i want it to do...
so basically im writing a program that output the positive factors of a integer that a user inputs....for the life of me i cant figure out how to get the program to output the positive integers i...
awesome thanks for the help im still having a little issues figuring out printing the spaces but im sure after a little messing around with it ill get it... has anyone done activity diagrams for a...
ok so i fiddled with it a little and got it to finally print the right stuff but i want it to after each line add a space i tried adding a space in the printf("\n"); that only applied it to the first...
ok well this is the kind of set i have right now, forgive my poor coding for i am new lol... im sure some of it is very wrong but i would greatly appreciate the help.. thanks!
#include...
Ok so here the problem i just got into a beginning programming C class and my teacher kind of sucks and i would love some help....
basically im writing a program that writes a parallelogram with a...
Ok so here the problem i just got into a beginning programming C class and my teacher kind of sucks and i would love some help....
basically im writing a program that writes a parallelogram with...