March 15th, 2013, 09:14 AM

HELP ME , Please this is my project
@Please help me how to code , or you can do this my project please.
i dont know how to code it.
pleaseeeee.
Write the correct algorithm, pseudo code and draw the correct flowchart of the following engineering problems.
1. Calculate the elapsed time, in minutes, it takes to make a trip. The formula for computing elapsed time is elapsed time = total distance / average speed. Assume the distance is in miles and the average speed is in miles per hour (mph). The value of distance is 100 miles and the average speed is 200 miles per hour.
2. Calculate and display the value of the slope of the line connecting two points with the coordinates (3,7) and (8,12). Use the fact that the slope between two points at the coordinates (x1,y1) and (x2,y2) is slope = (y2  y1) / (x2 x1). Your program should produce this display:
The value of the slope is xxx.xx
3. Compute and display the value of the secondorder polynomial for any userentered values of the coefficients a, b, and c and the variable x. Have your program display a message first to inform users what the program does, and then display suitable prompts to alert users to enter the data. (Hint: Use a prompt such as Enter the coefficient of the xsquared term:.)
4. A certain waveform is 0 volts for time less than 2 seconds and 3 volts for time equal to or greater than 2 seconds. (These waveforms are referred to as step functions.) Prompt the user accepts time in the variable named time and displays the appropriate voltage, depending on the input value.
5. A senior engineer is paid $1700 a week, and a junior engineer, $900 a week. Accept an engineer’s status as an input in the character variable status. If status equals S, the senior engineer’s salary should be displayed; otherwise, the junior engineer’s salary should be displayed.
6. Ask the user to input a number. Display if the given number is even or odd. If the given number is odd, display the message "The given number is an even number", otherwise, "The given number is an odd number".
Comments on this post
March 15th, 2013, 09:17 AM

I don't think anyone is going to do it for you.
Everyone here is willing to help if you have questions as you write the code, but you have to do the work yourself.
March 15th, 2013, 09:59 AM

Originally Posted by CpeStudent
@Please help me how to code , or you can do this my project please.
i dont know how to code it.
pleaseeeee.
Write the correct algorithm, pseudo code and draw the correct flowchart of the following engineering problems.
You have to, at least, TRY  one problem at a time.... Show a good effort, and come back when you hit what might seem like an unsurmountable roadblock to reaching a solution to any of the scenarios. You may surprise yourself, and ENJOY the process of untangling these problems!
March 15th, 2013, 03:31 PM

I don't understand how you can be unable to do this. These questions practically are already done! The answers are sitting smack dab in the questions themselves, you don't even need to study to do these. I suggest going for philosophy or maybe liberal arts instead of CS. If these are too hard for you, you'll never graduate.
March 16th, 2013, 10:36 AM

Like the other guys said, this is too easy and you should at least give it a try. Here, I'll show you how easy it is so you can get a head start. Maybe that'll get your brain to start functioning.
This is the code for number six :
Code:
#include<stdio.h>
char *even(int num)
{
return num % 2 == 0 ? "The number is even" : "The number is odd";
}
int main()
{
printf("%s",even(3));
getchar();
return 0;
}
see? Wasn't so hard. Basically the rest of the programs you want shouldn't add any more lines of code.