#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    1
    Rep Power
    0

    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 second-order polynomial for any user-entered 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 x-squared 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

    • ptr2void disagrees : Quit, major in something more your speed.
  2. #2
  3. Java Junkie
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Feb 2004
    Location
    Mobile, Alabama
    Posts
    4,022
    Rep Power
    1285
    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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Location
    Romeoville, IL
    Posts
    129
    Rep Power
    14
    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!
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2009
    Posts
    149
    Rep Power
    37
    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.

  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    101
    Rep Power
    0
    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.

IMN logo majestic logo threadwatch logo seochat tools logo