No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
For a homework assignment I need to write a function that computes the average value of an array of floating-point data: double average(double* a, int a_size) In the function, use a pointer variable, and not an integer index, to traverse the array elements. The code below is what I have … | |
Please help! I don't understand why I am getting this error: function does not take 0 arguments. The program is suppose to calculate how much fuel is left in the tank after you drive a certain amount of miles. Can someone please help explain why I am getting this error? … | |
I am trying to modify a tax program so that I only have one line that start with the variable "tax = ...". The original statements are commented out so that you may see what the original program looked like. What I don't know how to do is to put … | |
Hello everyone, I am currently in a C class and I am having trouble with the following exercise. I have started but I am stuck, can anyone help? You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which … | |
HI everyone, I am new the world of C and am having some problems with a class assignment. Can anyone help? [CODE] #include <stdio.h> #include <math.h> #include <string.h> #define Max_sites 10 /* maximum number of sites allowed */ typedef struct { int site_id_num[4]; /* id number of the site */ … | |
I am trying to write a funtion that will return the value of 1 if its string argument is a palindrome. I have started but am unsure if it is correct. Could someone please take a look and point me in the right direction? Thanks [CODE]#include <string.h> Int palindrome (const … | |
I new to the C# world. I'm currently taking a class and am having trouble with the following program. "Write a program for an automated teller machine that dispenses money. The user should enter the amount desired (a multiple of 10 dollars) and the machine dispenses this amount using the … |
The End.