thank you very much for your response.
the instructions of the assignment was to keep the information of the user in the header file within the Account class and all the deposit and withdrawal...
Type: Posts; User: EssiJoon
thank you very much for your response.
the instructions of the assignment was to keep the information of the user in the header file within the Account class and all the deposit and withdrawal...
Hello again,
I am having a hard time keeping the updated balances, can someone please help me?
this is are my functions in a class called "functions"
void DepositAmt(double...
Hello folks,
I am working on an assignment for school and I would greatly appreciate some help with my code. I would like to retrieve some data from my header via a function in my main. However,...
sweet... thank you sir. Greatly appreciate it.
but just so I understand what you did, do you mind explaining the code to me? so I can learn and not just copy it? thank you so much
that worked perfectly... thank you so much
ok so basically say I input the number "1234567890"
what I want to do is take 1 and multiply it by 10 and get a value
so I need to convert the input digit by digit into an int so I can multiply...
Hello you wonderful people...
I was wondering if I could get your help real quick please, and thank you...
So I want to write a code for an assignment to validate an ISBN number.
So once...
Thank you everyone for responding...
Jim I lost you on the last part... what do you mean by input stream and output stream? (I am very new to this, so I am sorry if I sound too newb)
Also the...
here is the entire thing
#include <stdio.h>
#include <string.h>
int main(void)
why is it that for char and string, I sometimes have to leave a space to make it work the way I want it to? like what is the logic?
eg:
this wont work the way I need it to (it wont toggle from...
Thank you so very much. with your tip to use strcmp and some examples from google, I changed my code to the following and it worked great..
if (strcmp(daynight,"AM") && hour == 12...
Hello once again,
So here is the part of my code I am having a problem with:
if (daynight=="AM" && hour == 12 && minute ==00)
{
strcpy(daynight, "PM");
so how would I check to make sure the user only enters a number. no letters and if they do enter a letter, I would say "invalid, try again" This is the part I am having a hard time with and my prof...
so I want to make sure the user the user enters a digit and not a letter, so I am doing the following:
do{
printf("please enter the hour: ");
scanf(" %d", &hour);
...
Thank you to both of you... You are all amazing. That worked great.
First impressions are so important and this forum really made a wonderful first impression on me.
Thank you to both of you.
Thank you Kurt... I greatly appreciate your help. That worked great. My followup question now is when I run that this is what i see...
Please enter A (for AM) or P (for PM): Please enter A (for...
and string also
Oh... I tried using a scanf("%c", &m);
still no luck
Hello everyone...
I am new to C and I am working for an assignment for school and I was hoping I could get some help if possible.
for some reason this do while loop doesn't work the way I want...