answersLogoWhite

0


Best Answer

Input a variable.

User Avatar

Wiki User

โˆ™ 2010-03-14 13:12:32
This answer is:
๐Ÿฆƒ
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar
Study guides
๐Ÿ““
See all Study Guides
โœ๏ธ
Create a Study Guide

Add your answer:

Earn +20 pts
Q: How do you alternate the input numbers using for loop in c plus plus?
Write your answer...
Submit
Related questions

Sum three real numbers using for loop in c program?

take input n chodo


When you input data in a loop within a program the input statement that proceeds the loop is what?

is called a priming input


How do you insert value to a dropdownlist from textbox input php?

Store the textbox input in a database using a html form prefarably. Using a loop get all the textbox input from database and use print/echo to show them in a dropdown.


What is the definition of open loop and closed loop?

With the open loop, the output is not directly connected to the input while with the closed loop system, the output is directly linked to the input.


Print 1 to 100 prime numbers using for loop?

OK, done that


What is an open loop?

Output is obtained for a given input and we cant control the output my means of any feedback loop control to the input


Write a c program to print even numbers using for loop?

Yes, yes, please do.


Contrast negative and positive feedback loops?

A device that is part of a feedback loop receives an input, responds to the input and creates an output that is connected back to the input; the device is responding to its own output. The condition is called a feedback loop. If the connection is such that an increase in output creates an input that acts to reduce that output, the loop is called negative feedback. If the connection is such that an increase in output creates an input that acts to increase the output further, the loop is called positive feedback.


What is a feedback loop-?

Feedback Loop is the by which some of the output of a circuit, system, or device is returned to the input.


What is the difference between while loop and for loop in c computer language?

For while loop you have to define conditions for the loop in loop's body. In, "for loop" case it's more natural and comportable. For loop is good for numeric simulations in other words when you are using only numbers. Loop while is very good for symbolic conditions, for instance, to check the condition that char1 == char2;


Write an algorithm of calculating the average of five numbers input by the user?

Start a loop Ask for the user for a value Add the value to a running sum At end of loop, divide the running sum by 5 (or the total number of numbers entered by the user).


What is an open loop system?

Open Loop control Systems have input, then the input is processed by various components like amplifiers, filters etc, then final out stage.The main difference between open loop and closed loop systems is that in open loop systems there is no feedback.


What is an open loop control system?

Open Loop control Systems have input, then the input is processed by various components like amplifiers, filters etc, then final out stage.The main difference between open loop and closed loop systems is that in open loop systems there is no feedback.


To find biggest of four numbers using if else loop?

largest number a,b,c,d


How do you use the effects loop in the back of your Fender Performer 650 amplifier?

Plug a 1/4" cable from your selected effect's pedal output to the amp's loop input, then plug another 1/4" cable from the amp's effect loop output to the effect pedals input completing the loop.


Write a c program to print all prime numbers from 1 to n by using for loop?

Yes, please do write.


Java program to increment of numbers upto 10 using for loop?

for(int i = 0; i <= 10; ++i) { }


How do you write a program in c plus plus program to input 10 numbers in an array?

You can use a loop statement to input the numbers. Here is a code snippet:int i, arr[10];cout


Write a program to input 10 numbers in an array find and print their sum and average mean?

Open a computer program like Visual Basic, Java, or C#, and then create an object and label it as an array. Input your 10 numbers into the object, then loop through each object in the array to find the sum, average, and mean by writing code in the program.


What is difference between for loop and while loop in C?

Well, the for loop and while loop are equivalent, in that you can use them both to do the same things. The difference is mainly syntactic. A for loop should be used to progress through a sequence, where there is a clear initialization, end test, and increment at each step through the loop, for example, to loop through the elements of an array or set. The while loop should be used when there isn't a clear progression, for example, to loop over input until the input is done.the basic difference is that for loop is used when fixed iterations have to be performed whereas while loop is used when the number of times the loop construct is to be performed is not known..


Write a java program to muttiplication 2 numbers without using multiplication operator?

The idea is to use repeated addition. You can do this with a "for" loop.


Wright The numbers from 1 to 10 in descending order using loop?

int i; for (i=10; printf ("%d\n", i); i--);


What is priming input?

A priming input, also known as priming read, is the statement that reads the first input data record prior to starting a structured loop.


Open loop and closed loop systems?

An open loop system bases input without taking into consideration any outside factors. A closed loop system will use other outside factors to determine its data.


How a C program to find LCM using while loop?

how to find the lcm using while loop