943,981 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1407
  • C RSS
Mar 6th, 2007
0

plss help me with my case study......

Expand Post »
hi am new member here... can anyone give the code of this..i've tried
to figure out the code to finish this but i cant......pls help me.....

here is the output of my case study


Enter amount of Loan: 5000
Enter Interest: .10
Enter terms(month):10

550 445 440 435 430 425 420 415 410 405
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
daddeh is offline Offline
3 posts
since Mar 2007
Mar 6th, 2007
0

Re: plss help me with my case study......

Post the code you've already written and we'll tell you what's wrong with it.
Reputation Points: 254
Solved Threads: 74
Practically a Posting Shark
thekashyap is offline Offline
804 posts
since Feb 2007
Mar 7th, 2007
0

Re: plss help me with my case study......

int t,
float l,i;

printf("Enter amount of Loan: ")
scanf("%f", & l);
printf("Enter Interest:");
scanf("%f", & i);
printf("Enter terms(month): ");
scanf("%d", & t)
printf("\n");
for();
printf("%d");


i cant figure out the for loop of my case study please help me..............
Reputation Points: 10
Solved Threads: 0
Newbie Poster
daddeh is offline Offline
3 posts
since Mar 2007
Mar 7th, 2007
0

Re: plss help me with my case study......

  1. int t,
  2. float l,i;
  3.  
  4. printf("Enter amount of Loan: ")
  5. scanf("%f", & l);
  6. printf("Enter Interest:");
  7. scanf("%f", & i);
  8. printf("Enter terms(month): ");
  9. scanf("%d", & t)
  10. printf("\n");
  11. for();
  12. printf("%d");
Last edited by WaltP; Mar 7th, 2007 at 2:43 am. Reason: CODE tags, please!!!!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
daddeh is offline Offline
3 posts
since Mar 2007
Mar 7th, 2007
0

Re: plss help me with my case study......

Click to Expand / Collapse  Quote originally posted by daddeh ...
hi am new member here... can anyone give the code of this..i've tried
to figure out the code to finish this but i cant......pls help me.....
Read this

Click to Expand / Collapse  Quote originally posted by daddeh ...
  1. int t,
  2. float l,i;
  3.  
  4. printf("Enter amount of Loan: ")
  5. scanf("%f", & l);
  6. printf("Enter Interest:");
  7. scanf("%f", & i);
  8. printf("Enter terms(month): ");
  9. scanf("%d", & t)
  10. printf("\n");
  11. for();
  12. printf("%d");
And? Do you have a question that we can actually answer? Maybe a little detail as to what you are trying to do -- task, function, equation, something? And an attempt to do it would be nice. Just putting for(); is not an attempt to do anything.
Moderator
Reputation Points: 3278
Solved Threads: 894
Posting Sage
WaltP is online now Online
7,747 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Basketball League Project
Next Thread in C Forum Timeline: function question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC