yow thnx! i've set the SUM to the upper part of the program and works like charm...
thnx a lot to you guys,
but one more question, can i get it working by not using the switch ?
instead i...
Type: Posts; User: omarbags
yow thnx! i've set the SUM to the upper part of the program and works like charm...
thnx a lot to you guys,
but one more question, can i get it working by not using the switch ?
instead i...
ok, i set the value for the SUM! please help here, i change some of the values and followed what you said, still im getting the wrong answers!
#include<stdio.h>
#include<conio.h>
main()...
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
int order;
char ans;
int total;
main()
{
clrscr();
int order;
char ans;
int total;
int sum;
printf("Good Day Ma'am/Sir !!!\n\n");
you mean like this???
main()
{
clrscr();
int order;
hi guys i wonder what i am messing in my program,
main()
{
clrscr();
int order;
char ans;
elysia
could you please elaborate this one here...
this is the part i could not understand
if(isFirst){
Biggest = V;
waaaaaaaaaaaaaaaaa
someone please help me T_________T huhuhu
please you have to understand im just starting my class
anyways what was that ?
do i have to assign a max integer and the min integer ???
in here T_T
if(isFirst){
Biggest = V;
Smallest = V;
isFirst = FALSE;
} else {
Biggest = __max(V , Biggest);
is the program working?
i hope someone could give me a simplified program
im really slow in C programming and i am learning it here...
thanks a lot to everyone who could help me
waaaaaaaaaaaaaaaaaa
i cant understand T_T
int w,x,y,ans;
printf("Enter a number: ");
scanf("%d",&x);
do{
for(y=1;y<=x;y++){
printf("Input number: ");
scanf("%d",&w);
if(w>y)
ans=w;
}
in which case should i look and focus to be able to run the program correctly?
c'mon guys a little bit of help here....
i know you are all genius!
just a little clue further hehehe!
can a loop determine the highest and the lowest value i've input?
is looping involve in this?
i know how to display the highest and the lowest but in a limited manner
for example 10 items,
will i could get it since i could manually compare the 1st number...
waaaaaaaaa
should i manually count it???
huhuhu
i have tried to input 10 numbers for example but i couldn't get it determine which is the highest value i've entered and the lowest value....
Enter how many numbers: 10 (may vary)
1
2
3
4
5
6
7
8
WHAT THE F***
HOW THE HELL DID YOU FIGURE IT OUT????
WAHAHAHAHAHAHA
THANK YOU SOOOOOOOOOOOOOOOOOOOOOOOOOOOO MUCHHHHHHHHHH.............!!!
MWAAAAAAAAAAAAAAAAAAAAAAAAH.....!
[quote]int bal,ded;
char ans;
Code:
printf("Enter current balance : P ");
scanf("%d",&bal);
do{
huhuhu that is why im here to learn from you guys
it is the lack of knowledge which leads me to some mistakes
please someone help me T_T
int bal,ded;
char ans;
printf("Enter current balance : P ");
scanf("%d",&bal);
do{
printf("Enter amount to deduct: P ");
scanf("%d",&ded);
int a,b;
char ans;
p("Enter current balance : P ");
s("%d",&a);
start:
p("Enter amount to deduct: P ");
s("%d",&b);
hi...
i had a problem with a program which starts like this
if i input a 100
and input another which is deducted from it for example 10
so the remaining balance is 90 to be exact