Write a program that calculates and prints the product

Assignment Help Basic Computer Science
Reference no: EM13220124

Write a program that calculates and prints the product of the odd integers from 1 to 15. Do this using while loop, for loop, and do-while loop.

Reference no: EM13220124

Questions Cloud

How many frames are destroyed : In a Standard Ethernet LAN, the average size of a frame is 1000 bytes. If a noise of 2 ms occurs on the LAN, how many frames are destroyed? Also repeat this problem with Gigabit Ethernet LAN.
Explain what was the approximate mass of the methane : C2H6, is completely combusted in oxygen. If the total mass of CO2 produced is 34.8 grams, what was the approximate mass of the methane in the original mixture?
What is the initial cash flow for the project : A new machine is to be purchased for $150,000. The company believes it will generate $60,000 annually in revenue due to the purchase of this machine. The company will have to train an operator to run this machine.
Write a java program which defines unconstrained array : Write a Java program which defines unconstrained array of user defined length n (the value of n is to be taken from a proper user's input). Fill in the array with n random numbers.
Write a program that calculates and prints the product : Write a program that calculates and prints the product of the odd integers from 1 to 15. Do this using while loop, for loop, and do-while loop.
Show that the regular sets are not closed : Exhibit an algorithm that detects whether one finite automaton accepts a subset of the set accepted by another machine. Show that this procedure works.
How will price and output of the chemical products compare : Suppose that firms in the chemical industry are allowed, free of charge, to dump harmful products into rivers. If this is the case in a competitive market, how will the price and output of the chemical products compare with their values.
Compute the work done in joules by the reaction : Calculate the work done in joules by the reaction when 0.21 g of Na reacts with water to form hydrogen gas at 1°C and 3.0 atm in an open container.
What is polling and interrupts : what is polling and interrupts? Please provide definitions

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a java program to demonstrate the use of linked-lists

Once you have processed the d4.dat file and the d4.delete file, it is a simple matter of iterating over the list and writing the object data to the outputfile. The output file size will be 22,725 or 27,270 bytes depending on platform and methods u..

  Determine features and capacities of ram-disk storage

Determine the features and capacities (RAM, disk storage, processor speed) that Amy should include in the Web server computer that she will need for her site.

  Design an algorithm in pseudocode to solve

Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output

  Use the gaussion elimination algorithms presented

Use the Gaussion elimination algorithms presented in the lecture. Note that arrays in Matlab always start with index 1. (b) Test the function splinemoments with the data set i 0 1 2 xi 0 1 2 yi 0 2 0

  Write a program to print a business travel expenses

Write a program to print a business travel expenses attachment for an income tax return. The program should request as input the name of the organization visited, the dates and location of the visit, and the expenses for meals and entertainment, a..

  Explaining leverage data from across enterprise

Many companies have executed ____________ to enable managers and knowledge workers to leverage data from across enterprise.

  Discuss how the it department helps the organization achieve

Discuss how the IT department helps the organization achieve their strategic goals

  Explain why you would want each feature

Explain why you would want each feature. Do you need to include any other devices in this design?

  Deployment and ongoing operation after implementations

Your plan requires two sections, one for deployment and another for ongoing operation after implementation. The vendor offers a contracting service for installation at $140 per hour.

  How many outcomes have at least one 1

In this version, there are C(6+3-1,3) = 56 different outcomes in Chuck-a-Luck. Order doesn't matter, just the number's that come up. Out of those 56, how many outcomes have at least one 1?

  Explain implications of copyrights on usage of web site

Study and explain copyright implications associated to Web site development. Write down minimum of 350 words explaining the implications of copyrights on usage of content on Web site.

  A string may use more than one type of delimiter

A string may use more than one type of delimiter t bracket information into "blocks" for example, A string is properly delimited if each right delimiter is matched with a perceding left delimiter of the same type in such a way that either the resu..

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