Write a for loop to print the odd numbers from 1 to 99 (inclusive).
Question:
Write a for loop to print the odd numbers from 1 to 99 (inclusive).
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 38% (13 reviews)
for ...View the full answer
Answered By
Lavnish Mehta
I have done Bachelor of Engineering degree in Electronics & Communication stream. I have a good command over my technical background and always try to be updated accordingly as of latest trends.
Besides my technical aspects I also have passion in learning and reading about latest trends in science in technologies and implement them in order to flourish my overall development.
I have sound experience of home tutoring with satisfied parents and students as feedback. As a youth I understand the needs of students and hence I cater them solutions accordingly. I believe in overall development of students technically, academically and curriculum activities.
0.00
0 Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Write code that uses a for loop to print each element of an array named data that contains five integers: element [0] is 14 element [1] is 5 element [2] is 27 element [3] is 3 element [4] is 2598...
-
Write a for loop to print the multiples of 3 from 300 down to 3.
-
Write a for loop that produces the following output: 1 4 9 16 25 36 49 64 81 100 For added challenge, try to modify your code so that it does not need to use the * multiplication operator.
-
An employee earns $24 per hour and 1.5 times that rate for all hours in excess of 40 hours per week. Assume that the employee worked 43 hours during the week. Assume that the FICA tax rate is 7.5%...
-
A piece of iron placed on a block of wood makes it float lower in the water. If the iron were instead suspended beneath the wood, would the wood float as low, lower, or higher? Defend your answer.
-
What has happened to the real return (i.e., the return adjusted for price-level changes) earned by investors in common stock?
-
What are the purposes of the opinion paragraph in the auditor's report? Identify the most important informa tion included in the opinion paragraph. What is meant by the term "appropriate disclosed...
-
What is the nominal and effective cost of trade credit under the credit terms of 3/15, net 30?
-
10 A firm has an Accounts Receivable balance of $3,000,000, an Inventory balance of $2,500,000, Annual Sales (Credit Sales) of $12,000,000, and Annual Cost of Goods Sold of $13,200,000. How many...
-
Shayenne works for RAD in Ontario and earns an annual salary of $59,800.00, paid biweekly. Shayenne's employment will be terminated at the end of this pay period. She is entitled to 6% vacation pay...
-
Write a do loop that verifies that the user enters an even integer value.
-
Write a code fragment that reads 10 integer values from the user and prints the highest value entered.
-
Weighted-average method. Porter Handcraft is a manufacturer of picture frames for large retailers. Every picture frame passes through two departments: the Assembly Department and the Finishing...
-
What I learnt? Customer Behaviour: 1) Customer satisfaction only results in loyalty at the highest level of satisfaction - do not focus entirely on satisfaction 2) Improvements that are not...
-
Delta is a carpenter who purchases her own tools for work. She purchased the following items during the financial year. 1 0 / 0 3 / 2 0 2 3 Band Saw ( Effective Life Rate: 1 2 years ) $ 1 , 2 1 0 8 0...
-
Parker Plastic, Incorporated, manufactures plastic mats to use with rolling office chairs. Its standard cost information for last year follows: Direct materials (plastic) Direct labor Variable...
-
Two positive charges q1 q2 = 2.0 C are located at x = 0, y = 0.3 m and x = 0, y = -0.3 m, respectively. A third point charge q3 = 4.0 C is located at x = 0.4 m, y = 0. a) Make a careful sketch of...
-
Mountain High Ice Cream Company transferred $63,000 of accounts receivable to the Prudential Bank. The transfer was made without recourse. Prudential remits 90% of the factored amount to Mountain...
-
Phelps Oil Wildcatters plc has leased property on which oil has been discovered. Wells on this property produced 36,000 barrels of oil during the past year, which sold at an average sales price of 65...
-
Representative data read from a plot that appeared in the paper Effect of Cattle Treading on Erosion from Hill Pasture: Modeling Concepts and Analysis of Rainfall Simulator Data (Australian Journal...
-
Al says he can prove that all sheep in a flock are the same color: Base case: One sheep. It is clearly the same color as itself. Induction step: A flock of n sheep. Take a sheep, a, out. The...
-
Alice has two circular queues,C and D, which can store integers. Bob givesAlice 50 odd integers and 50 even integers and insists that she stores all 100 integers in C and D. They then play a game...
-
Suppose Bob has four cows that he wants to take across a bridge, but only one yoke, which can hold up to two cows, side by side, tied to the yoke. The yoke is too heavy for him to carry across the...
-
Write brief notes to alert the database administrators to the difficulties that they may encounter. [8 marks] SECTION C 9 Semantics of Programming Languages (a) The integer expressions E of a...
-
Investment - End of Chapter Problem Determine if the given people are demanders, suppliers, or not involved in the market for loanable funds. a . Latisha wants to save up for a new laptop to use in...
-
The Nash equilibrium is _ _ _ _ _ _ _ _ _ _ _ _ . A . Make concessions / Not invade.B . Make concessions / Invade . C . Tough / Invade . D . Tough / Not invade.E . There is no Nash equilibrium.
Study smarter with the SolutionInn App