answersLogoWhite

0


Best Answer

int i, largest=0;do {

scanf ("Enter a number (0 to exit): %d", i);

if (i>largest) largest=i;

} while (i!=0);

printf ("Largest number is: %d\n", largest);

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to write a program that ask user to enter numbers until user enter- 0 then find the biggest of entered numbers in C programming using while or do while?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is c program to calculate product of all even numbers from entered number down to 1?

c is programming laungage


Can program development be done by a program?

Yes and no, program development works in programming codes which are specifically made for humans to be entered, a program can write these programming codes too. The thing is, you would need to write the programming codes yourself before the program can use it in program development. If a program could invent the wheel, then you still need to invent that wheel before the program can. Or atleast until the thinking of the human brain can be translated into mere programming code.


What is a bug in a computer program?

A bug in a computer program is when something doesn't work in the computer program. Cause could be: Something was entered in the programming correctly. Ex. you want to click on exit button but it does something else.


What is the present tense of programming?

...Programming. Past, I programmed. Present, I program or I am programming. Future, I will program.


Single program Uni-programming?

A single program is also known as uni programming. Uni programming only allows on program to be present in the memory at a time. Single program


How does HBO determine its programming schedule?

HBO determines its programming by the length of the program and rating of the program.


What is the relation between problem and programming?

Problem -> Programming Programming can be a solution to a problem. If you have a problem and it can be solved by a computer program, so you can create such a program - so you can solve this problem by programming.


Is there a program that can help you make a programming language but you don't need to know a programming language?

No. In order to make or use a program or a programming language, you need to know a programming language.


What do you mean by serial programming?

Serial programming is a term that means the opposite of parallel programming. It means the program only proceeds by one program step at a time.


Is there software taht can teach me how to program?

There is no one program used to teach programming. There are many programming languages so there is one way to learn programming. You normally use the program that you are learning to program in using a book and instruction as to how the language works.


How do you write a program to find out the square and cube of first ten natural numbers in gw basic?

First you will need to have some basic programming knowledge. You can use this to help make the program that is needed.


What is programming data?

That which a program processes.