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.
-
Central Drug Store carries a variety of health and beauty aids, including elastic ankle braces. The sales budget for ankle braces for the first six months of the year is as follows: The owner of...
-
Identify several aspects of the international environment and the global strategy of the MNE that influence the budgeting process.
-
Each day, a FedEx competitor processes approximately 85,000 shipments. Suppose that they use the same Service Quality Index as FedEx and identified the following numbers of errors during a 5-day week...
-
At what point 4 on the curve y = x+ does the normal have a slope of 16?
-
Ms. Tanja Umstead is 46 years old and lives in Richmond, British Columbia. She is in good health and works in the sales department of a large publicly traded company. Tanjas Personal Information: 1....
-
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.
-
(a) Write 5 (x + 2x5) dx as a limit of Riemann sums, taking the sample points to be right endpoints. Use a computer algebra system to evaluate the sum and to compute the limit. (b) Use the...
-
You are the practice manager for a five-physician cardiology practice. Explain your responsibilities as a practice manager as they pertain to future demand and managerial accounting. As with most...
-
The carrying amount of the Accounts Receivable is $ 2 5 , 0 0 0 before the write off of a $ 2 , 5 0 0 account. What is the carrying amount after the write off if the balance in the AFDA prior to the...
-
On December 31, 2004, Karimah Sdn. Bhd. (KSB) reported the following information on its balance sheet: Balances in accounts receivable RM 42,600 Allowance for Doubtful Accounts RM 852 On December 31,...
-
Your organization offers employees an ERISA-covered retirement plan. You're adding newly eligible employees to the portal and notice that one employee is married, but wants to name his mother as his...
-
Assume that Arlington's 2024 pretax accounting income is $95,200 and that Arlington reports $40,000 more depreciation expense for tax purposes than it shows in the accounting records, expected to...
-
1. What should the board do with regard to John's poor decisions? Should they fire him? What alternative routes are available? 2. How can John be made aware of his disruptive behaviors? 3. What role...
-
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...
-
Highland Company produces a lightweight backpack that is popular with college students. Standard variable costs relating to a single backpack are given below: Standard Quantity or Hours Standard...
-
Way Cool produces two different models of air conditioners. The company produces the mechanical systems in its components department. The mechanical systems are combined with the housing assembly in...
-
A.Z Corporation budgets June sales at 625,000. The variable expense is expected to be 56% of sales and profit is expected to be Rs. 31,768. You are required to calculate Break-Even Point for A.Z...
Study smarter with the SolutionInn App