I forgot to put the second code in my last post sorry! But yeah that makes perfect sense, do you mine writing me a psuedo code for that second code? If you don't mind of course
Type: Posts; User: cboard
I forgot to put the second code in my last post sorry! But yeah that makes perfect sense, do you mine writing me a psuedo code for that second code? If you don't mind of course
Oh I see, I was confused as to what the relationship between count1 and count2 was. So for this code, the first part sets freq[1]-freq[4] equal to zero? Then I'm not sure what the second part is...
Can somebody please walk me through this problem and show me how you get an output of:
[0]
[14]
[28]
I've been looking at it for the past 30 minutes and I still can't figure out how this code...
yeah your probably right, i absolutely see no reason as to why it shouldn't be working. Oh and i changed the condition in case 2
ah i see, thanks for looking into that for me. They want the input to be in this format, it makes a bit more complicated i agree. Ill double check the inputs and see if I find anything off
I made all the changes you suggested. When I come to print the menu after making 3 entries, it will print out a bunch or random characters for the first 2 entries. I just need this to work correctly...
really? Im using DevC++ and its not working for me...what program are you using to run it if you dont mind me asking? also what does seg fault mean?
I wrote an address book program with everthing functioning well. When I choose the print_entry option, it is supposed to print out all 3 entries that i put in, however it only prints out the most...
haha man im stupid:( thanks for the help though i really appretiate it
for the decimal conversion would this work:
if (*apr[9]==%)
{
*apr = (*apr)/100;//if apr contains a percent sign, it will be converted to decimals
}
laaaaaast question.
I have to get the total payments made and the total interest paid so I placed the following in the loop also:
(payment += ATI) and (ATI += ATI)
The first is supposed to...
Oh sorry man, this is actually a part of a much larger code. I just tried to take out the important part of the code that applies to the case conversion. I wasn't trying to compile that one part on...
For the case converting, would it be something like this? (Im trying to converst just the first letter):
include <stdio.h>
include <ctype.h>
int main()
{
char first_name[26];
Ah that got it working, thank you sir.
Okay I got it to work and I got the format down and everything, but it doesnt update the payments as the month increases?
for(n=1;n<=loan_term;n++)
{
calc_loan...
Okay heres what I did now:
for(n=0;n<=loan_term;n++)
{
if(n%12==0)
{ k++;
printf("%4d\t%10.2f\t %6.2f\t %10.2f\t %10.2f\n",loan_term, payment, *ATI,*ATP,*RP);
}
Im looking for an output similar to this:
Customer #: 0000001234
John Doe
205 E 5th Ave
New York, New York
(563)563-5639...
Thanks again for all the input, I took all your advice and modified my code a bit. Last thing I need it to do is print out each month and the interent, principal and remaining balance to go along...
So I should change it to float*loan_amount?
Well its supposed to work where the user is asked to input a bunch of information, of which include loan amount. Then I want the loan amount, apr, and loan term that the user inputs to be plugged...
good evening all, im in the process of writing a code that will calculate loan payments. I made the equation for the interest formula, but when I compile it, I get the error:
"called object is not a...