I figured it out have to press control z to end program lol
I thought u had to type eof to end sorry for the post
Type: Posts; User: cemock
I figured it out have to press control z to end program lol
I thought u had to type eof to end sorry for the post
I copyed this program from book and it doesnt work right. I have reveiwed it and it is just like the book, but when I type EOF it gives me the message incorrect letter grade entered. enter a new...
No vber I was trying to say that when finished with doing your accts that inputing -1 would end program
Ok I got it to compile then when I run it, it seems to get into a loop can some one look at it and tell me what I have done wrong I am posting new sorce code that I have now.
...
The first time I tryed to compile it gave me a waring about the first printf statement undeclared printf or something like that I messed with it and didnt change it just rewrote it and then it...
I wrote this program in dev++5, and it compiles all right and when I try to run it it comes up and ask for the accout number and I enter one but that is all that happens after that it just sit there...
thank u
I wrote this program but it doesnt compile any help
include<stdio.h>
int main()
{
int acc1;
float bal, chrg, cred, limit;
printf ("Enter account number (-1 to end);\n");
This is as far as I have gotten
#include<stdio.h>
int main()
{
int account_number,total_items;
float balance, total_credits, allowed_credits;
It says to input each of these facts, calculate the new balance (=beginning balance + charges -credits) determine if the new balance exceeds the customer's credit limit. For those customer's whose...
Ahh gee thks for help lol. I know u guys dont do homework for ppl but I need some help at this, this is what I have done so far ok. Could u tell me if I am on the right track or just wasting my time....
Was assigned a homework ass. And the teacher and book are not to helpfull.
I am supposed to determine if a store customer has exceeded the credit limit on his charge account. For each customer the...
thks for the info I appreacite it very much.
When I compile and run a program in devc++ the results screen flashes and goes away. Only way I have found to see results is to add an scanf and then the screen stay up to veiw. Any one know what I...
I am trying to learn how to use scanf just got into this C programing class and am learning what did I do wrong
I wrote this program and it compiles alright but when I try to run it the screen comes up and ask for dia. then I input dia. and a message comes up saying that this program has preformed an illegal...
I loaded the program from oriangal flobby disks thats why I don't understand why it won't work. lol I downloaded borlands c++ and when I click on the bcc32 it comes up for a split sec. then goes...
welcome .c (3) : fatal error c1024 : cannot open include file 'stdio.h'
Thats the error message that i get
yes I include #include <stdio.h> and it came up with the error message.
hey thks for help i will try it see if I can get it too work thks again
yes its in the include dont know why it say cant open it
I am taking class in C is C++ the same as C
ya this always happens when i have try to use stdio.h
I am having a problem. When I try to complie a program I get an error message cannot open stdio.h file ne1 know what I am doing wrong.
I am trying to use this program and when I make a program and try to complie it it come up with can't open stdio.h file ne1 know what I am doing wrong.