- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
8 Posted Topics
hello friends, may anyone help me with a code in c for the mechanism of using an atm machine, conditions 1.acc balance starts at zero 2.do not use global variables 3.loop the main menu after every transaction until user presses exit 4.after every transaction user returns to the main menu. …
the problem is in this portion of the code [CODE] scanf("%c",&choice1);[/CODE] try puting a space betewee " and %C when declaring the variable type char, this sometimes refuses to accept the input and porceeds to the end or enters a random input instead try replacing that piece of code with …
i have formated a friends laptop by instaling a new windows 7 in a different partition but i do not know how to remove the old windows from the other partition, the computer keeps saying unable to perform format when i format the partition containig the old windows please help.
hello, i need help with this sub program, everything ele works fine except the subprogram that should compute the smallest and largest number in the array [CODE] #include<conio.h> #include<stdio.h> #define MAX 10 int input(void); int range(int i,int *s1,int *s2,int *s3,int *l1,int *l2,int *l3,int f[MAX],int hf[MAX],int lf[MAX]); void output(int v,int s1,int …
[CODE]scanf("%d",marks)[/CODE] narue is right you forgot the pointer & before marks it should be [CODE]scanf("%d", &marks);[/CODE]
yes sure waltp but if he cant code the game himself, he should atleast be able to come up with an algorithm for it, so that he may be guided as to what functions suite his code,BUT NOT WRITE THE WHOLE THING FOR HIM
why dont you try using case switch, it will make your code easier to understand and trace for errors [CODE]while(quit=='n'||quit=='N');[/CODE] where does the do start, u cant have while at the end without the initiation point do not use if with while, while is a looping condition ( do while …
[QUOTE]if((int) total > 90 || total < 100)[/QUOTE] the logical operator OR is not very efficient at traping a number in certain boundaries, because. [COLOR="Red"]only one[/COLOR] of the two conditions to be true to conclude that the condition is valid to proceed, so if you enter 50 [QUOTE] total < …
The End.
mtatadotcom