Here is my code I cannot figure out how to get my dates that I enter to work properly. The user should enter them in looking like this 20000101 year month day.
// This is a late charge calculator...
Type: Posts; User: jonesy
Here is my code I cannot figure out how to get my dates that I enter to work properly. The user should enter them in looking like this 20000101 year month day.
// This is a late charge calculator...
I am trying to do this project and am having a hard time. I need to have the user enter a long line of characters and then split them into 30 -35 line characters. Then I need to ask the user to enter...
I am running Borland Turbo C++ 4.5
on a Windows ME machine
and I get all kinds of funny errors
float sld (float a){
float balance,depPercent,deprecation;
int yearCount, currentYear; // yearcount must be an integer, so make it one.
printf("Please enter the account balance:\n");...
I am tryin to get this code to decrement. I keep gettin an infinte loop. The program is supposed to show the value of your money each year and how it depreciats. Here is the code
float sld (float...
I am trying to get this fibonacci to work but it is giving me the wrong answers. please help
#include <stdio.h>
int cal_fibonacci (int d);
void main(void)
{
int b,c;
I keep getting an infinate loop for some reason and I cannot figure out why. This is a Fibonacci program that is a large pain in my ass. I need to add a print function aswell but I am not sure how to...
I keep gettin a General protection exception and I don't know why. I had this program working before I add <math.h> but know it just bums out on me.
#include<stdio.h>
#include<math.h>
float...
This is a project I have for school. I am asking for help with my homework. I keep getting 39 as the answer to this program. The program is supposed to be Factorial, meaning that when you enter in an...