Cheers appreciate the help :D
Type: Posts; User: wordup
Cheers appreciate the help :D
Yeah, I've tried that but it makes very little difference. What I really need is a little help with the logic of how to actually code the solution. I know what I want to do, I just can't figure it...
Please ??
Ok, thanks. So anybody got any ideas as to how i can make this function work then?
void new_years_day(int day, int year)
{
int i = 0, leap = 0;
// ask user for year between 1900 and...
Sorry bout the confusion but the other 2 functions are meant to be there cos i still have to build them yet. It's just that i'm stuck on the 1st function (new_years_day). Should I just have (return...
I have to write a function which takes in a year between 1900 and 1999 and returns as a number the first day of that year. Days of the week go from 0 - 6 ( Sunday = 0, Saturday = 6).
I am supposed...
Ok, done and done. Any other tips?
#include <stdio.h>
#include <ctype.h>
int read_and_count(void);
int chr;
int word_count = 0;
I have written the following code to tell the user how many regular letters and how many words are in each sentence they type. However, the program only counts the first word and the letters of that...
Thanks for the help all but i'm still a little confused.
- Stoned_Coder: your code doesnt work properly
- Shiro: what is the standard C function to convert numbers to strings? Also, can I use...
Does anybody know how to split up digits so that i can manipulate them?
eg.. for example the user types 123, i want to split them up and add them to get 6. Also wondering how to split up words??
...