So in other words nothing productive to to add so bash the poster for not posting in the correct forum. Your absolutely right. I'll take my question and my patronage elsewhere.
Type: Posts; User: g8ortech14
So in other words nothing productive to to add so bash the poster for not posting in the correct forum. Your absolutely right. I'll take my question and my patronage elsewhere.
Having problems with the code below on a 2010 Excel spreadsheet. The function flags me at first line and highlights Mid. I get a "compile error, cannot find project or library". I'm trying to set...
Probably will get flamed for posting this here, but if you feel its really inappropriate then you can trash the post.
I am a programmer by day, but an MMORPG fanatic by night. I have formed a...
Perfect Harish that's exactly what I was looking for. I think it was the early hour and my brain wheels were not turning yet. Thank you so much.
void inventoryReport(PRODUCT inventory[], int...
You are talking about strings. Characters and words to strings. The problem with that is that you would be writing them to an Array meaning that the array would have to contain all of the same data...
Watch this video and then let us know if you still are having issues.
18 Characters and Strings
This must be one of those students that signs up for the message board expecting everyone else to do his home work. HAHAHAHAHHAAHHA good luck with that.
Created a struct...
typedef struct {
char name[40];
short int number;
double wholesale;
double retail;
short int onHand;
} PRODUCT;
Hi all I figured it out late Saturday, and have been busy with family and school since then. Thank you so much for the input. Laserlight you helped me without giving me the answer. There were a...
That would help :-)
#include <stdio.h>
#include <stdlib.h>
main()
{
int minutes = 60;
int total_seconds;
double mins, seconds, hours;
printf("Input Seconds: ");
Thanks again
#include <stdio.h>
#include <stdlib.h>
main()
{
double total_seconds, hours, minutes, seconds;
printf("Input Seconds: ");
scanf("%lf", &total_seconds);
printf ("Seconds Inputed =...
That makes sense and will help with clarifying my code. Thanks for the helpful input.
I see the boundary error thanks.
So I went to paper here is what I have:
I need to declare variables:
int total_secs
float hrs, mins, secs
input total_secs
get total_secs
if total_secs <= 60 then display secs = total_secs
If I was given 122 seconds. I would take 122 divided by 60 giving me 2 minutes with a remainder 2 would be output to 2 minutes 2 seconds. Declare the variables to be hrs, min, and sec.
Ok so I am attempting to formulate my first program. The input is time in seconds (i.e. 122 secs). This would then be output to 2 min 2 secs. The program would also need to be able to display...
I knew I could find the answers I was looking for here, Thanks all :-)
Hi all,
I'm looking at the modulus operator and having a hard time understanding its practical purpose. The book shows me:
#include <stdio.h>
{
int a = 25, b = 5, c = 10, d = 7;
while (1) {
printf("\nmore students (Y or N)? ");
scanf("%c", &moreStudents);
if (!((moreStudents == 'Y')||(moreStudents == 'y'))) {
break;
}
I think I identified his...
How did you end up fixing the problem?