Here is my code so where does the new part fit in?
# include <stdio.h>
# include <conio.h>
void main(void)
{
int age;
char answer;
clrscr();
Type: Posts; User: ZeeeD
Here is my code so where does the new part fit in?
# include <stdio.h>
# include <conio.h>
void main(void)
{
int age;
char answer;
clrscr();
Thanks for the info but I dont have enough knowledge to apply what you suggested, can you post an example?
I am writing a program for an assignment which accepts a int number input for an age then prints out a relative message using if else statements. My problem is that it also converts an input when a...
Thanks for the help, it works like a dream
I have written this program for an assignment and I have told the program to count the number of deposits and withdrawals then print them when the user is finished. My problem is that it also counts...
I'm starting to learn C language and want to include comments in my programs but I'm not sure what parts to comment on and what not to bother with. is there any rule of the thumb?
I was able to make it more interactive by altering the count in the for loop. I set the elements of the array to 10 then added a scanf so that the user can nominated the count condition in the for...
I have written an assignment program using arrays which prompts for a sales amount, then prompts for a percentage rate and then works out the commission for the sale using a for loop.
I have set...