Modify a for loop that calculates the total

Assignment Help Computer Engineering
Reference no: EM1331812

Design a While Loop that lets the user enter a number. The number should be multiplied by 10, and result stored in a variable named product. The loop should iterate as long as product contains a value less than 100.

Design a For loop that calculates the total of the following series of numbers: 1/30+2/29+3/28+...30/1

Design a program with a loop that lets the user enter a series of numbers. Then user should enter -99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered.

Reference no: EM1331812

Questions Cloud

Explaining appropriate communication channels : What communication channels are appropriate? Explain.
Green company memo : Green Company Memo - Select a company that is considered green in the way it conducts its business.
How many hour work each week to pay for gas to fuel the car : As a part time student and a part time worker, you earn $4.50 an hour. Your parents would buy you a used car, but you must pay for the gas. gas costs $1.10/gallon and you use 20 gallons/week. How many hours will you work each week to pay for the g..
Explain e-business or legal and regulatory ramifications : Explain e-business or legal and regulatory ramifications
Modify a for loop that calculates the total : modify a While Loop that lets the user enter a number. The number should be multiplied by 10, and result stored in a variable named product. The loop should iterate as long as product contains a value less than 100.
Explaining civil rights act or gender sensitivity issues : If the responsible manager and employees involved had been more aware of the Civil Rights Act or the gender sensitivity issues involved, how could he or she have handled it differently?
Explain e-business ethical problems : Explain e-business ethical problems
Show the mortgage payment amount : Write down the program as a procedural C++ program and using a loan amount of $200,000, a term of 30 years, and an interest rate of 5.75%. Insert comments in the program to document the program.
Discuss the distribution of risk : Discuss the distribution of risk in the consignment, time draft. Consignment, time draft

Reviews

Write a Review

Computer Engineering Questions & Answers

  Differences between the java programming languages

What are the main differences between the Java programming language and the language discussed

  What are the xml databases

What is data warehousing? How are databases and data warehousing related? Do you believe data warehousing is a fad or a "real" technology that would benefit organizations?

  Vulnerabilities in purchasing through debit card

Recognize any potential vulnerabilities in act of making a purchase through the debit card, and which area of the CIA triad they apply to.

  Tcp and udp

UDP and TCP utilize the 1s complement for their checksums. Assume you have the following three 8-bit bytes: 01010101, 01110000, 01001100. Along with the 1s complement schema, how does receiver detect the errors?

  Recognizing the instruction format

Memory unit of the computer has 256K words of 32 bits each. The computer has an instruction format along with the four fields: an operation code field, a mode field, to state one of seven addressing modes, a register address field.

  Implement needham-schroeder protocol using python

Implement Needham-Schroeder symmetric key protocol, both original version and fixed version using python.

  Calculating the average of 50 numbers

Write down a program which calculates the average of up to 50 numbers input by the user and stored in an array. The program must use a class named Statistics and have an AddNumber method which stores numbers into an array.

  Make a clear button that will clear both text boxes

Your employer has requested the growth of a software application to calculate the area of a circle. The application must accept only one value (i.e., the radius), and it must display the result in decimal value.

  Describe why software objects more "reusable"

define why software objects more "reusable" than other types of computer code.

  How important is it to keep the site current

How important is it to keep the site current.According to "Putting Business Online Isn't Always Easy" (2005), "the biggest mistake people make is failing to know the commitment a Web site demands."

  Explain two types of health care information systems

Analyze the impact of the effect on organizational decision-making.Make recommendations for implementation and improvements.

  Company pays in sales person on the commission basis

make a C++ program that uses a "While" statement to input each salesperson's gross sale for last week and calculates and displays that salesperson's earnings. Process one salesperson's figure at a time.

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