Create a program that asks the user to enter an objects mass

Assignment Help Computer Engineering
Reference no: EM131970071

Assignment

#1

Open Idle and type your program in idle.

1. Calculates the overall grade for four equally-weighted programming assignments, where assignments 1 and 2 are graded out of 50 points and assignments 3 and 4 are graded out of 75 points.

2. Calculates the overall grade for a course with three equally-weighted exams (graded out of 100) that account for 60% of the overall grade and four equally-weighted programming assignments (graded out of 50) that account for 40% of the overall graded. Hint: The overall grade can be calculated as 0.6 * averageExamScore + 0.4 * averageProgScore.

#2

weight = mass X 9.8

Write a program that asks the user to enter an objects mass, then calculates its weight. If the object weighs more than 500 newtons, display a message indicating that it is too heavy. If the object weighs less than 100 newtons display a message indicating that it is too light.

Must use if-else statements to write your program.

#3

Write a program that lets the user enter a non-negative integer then uses a loop to calculate the factorial of that number. Display or print that factorial.

For example if I enter the integer 4

The answer you should be able to print is 24.

The above is just an example.

You must use a loop!

Reference no: EM131970071

Questions Cloud

Components of ae can be affected by rising interest rates : Discuss the connection between the OECD "urging Australia to begin increasing official interest rates' and this how can ".. cool the housing market..."
Explain the general treatment of unallowable costs on bills : Subject is Explain ethics as they relate to government contracts and government contractors.
Calculate the long-run equilibrium output for ?rm : Calculate the long-run equilibrium output for each ?rm. Explain how the long-run equilibrium price changes as the number of ?rms increases?
What kind of claim does the page make : What kind of claim (frequency, association, causal) does the page make? [a sentence for the claim; a sentence or two to explain your reasoning.]
Create a program that asks the user to enter an objects mass : Create a program that asks the user to enter an objects mass, then calculates its weight. Must use if-else statements to write your program.
Explain the activity based costing process : Discuss a real work example of how activity-based costing impacted the success of a company.
What in society was changed by the case : Discuss why the case is important. Include political, social, cultural, etc. importance.Give your personal assessment of the decision.
Present value and the future value of an asset : a) What is difference between Present Value and the future value of an asset?
How relevant are the new skills to your current profession : Base on the course content, discuss new skills you acquired from this class? How relevant are the new skills to your current and/or future profession?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd