The full question, with example.
Using a while loop, write a program that asks the user to enter a number that is larger than 10. The program will continue asking for a number until a number that is larger than 10 has been entered. The program will then print the valid number entered followed by the message "Done".
Sample input and output :
Enter a number larger than 10 : 5
Enter a number larger than 10 : 10
Enter a number larger than 10 : 15
You entered 15
Done
- I can start off but cannot get a number that is larger than 10. Please help. thanks
2007-02-2109:06:24
·
2 answers
·
asked by
Facilitate1
Is it possible for non-tech/engg. students to get into SAP implementations these days and how is the growth oppurtunities in the present market. I am going to compete my B.Com this year, I need to know if I can join any SAP implementation company with SAP modules like FICO(Financial Accounting and Controlling)..
2007-02-2108:28:48
·
4 answers
·
asked by
Anonymous
Thanks to those who answered promptly, however none of your suggestions work in my senario. (some work on a blank page with a new table inserted, but not with what I'm working on)
I should also say its a form i using - dont know how different it is to a tabe, not much think.
I'll give you a breakdown of what I've got
Name
The above is repeated for each line of the form. This was created by some bot online. My (original) text is all fine outside the form, but if I CRTL +scroll the text size changes inside the form. I cant seem to stop it. As i said in last question there is a box online to apply css to table or Td but i cant get it to work.
Can any of you modify the code above to stay at Verdana 12px without changing size when CTRL=scrolling. 10 pts at stake again!
2007-02-2108:09:28
·
3 answers
·
asked by
sambucaman3
{
printf( "\n" );
printf( "ERROR: Please select either option 1 or option 2\n" );
printf( "\n" );
}
basically there are 2 options, scanf asks for a choice (either option 1 or 2). If the input value is not a 1 or a 2 it prints the error message but i then want it to go back to the scanf part so the user can have another go at inputting either option 1 or 2. Ive been told i need to use a while loop? any help much appreciated...
thanks
2007-02-2108:08:41
·
4 answers
·
asked by
Johnno2
I know I can do to button rollovers with Javascript but I am looking to make a navigation bar that has clickable sub menu options appear when your mouse moves over it. I am looking to avoid using any Flash, but is Flash the only way to pull this off? Thanks!
2007-02-2107:52:49
·
4 answers
·
asked by
AlexM1383
Hello,
I'm trying to configure XpressCart properly for my website. But, I'm running into the familiar 500 internal server error. I'm positive that the following are correct.
1. Perl path #!/usr/bin/perl
2. File permissions
3. Upload in ascii
Only need to configure the config file.
I'll give anyone that helps fix this problem $5 via paypal.
Here's a test script for the server
http://www.vagnavs.com/cgi-bin/xpresscart/advanced-test.cgi
Here's the configuration script and the read me. I have uploaded them to a separate directory.
http://www.vagnavs.com/README.txt
http://www.vagnavs.com/config.pl
I only need the URLs and PATHS defined.
Once it is properly configured, they say to open the script and then you can start adding products. http://www.vagnavs.com/cgi-bin/xpresscart/office.cgi
2007-02-2106:37:20
·
5 answers
·
asked by
Thomas M1
Okay. I have another photoshop issue. When I go to the FILTER toolbar, and then to the third choice, LIQUIDFY. The thing is all zoomed in to the max that it can. And I know there's a little magnify choice on the side but it's not working for me so I can't zoom out. Does anyone know how I can? That would be greatly appreciated. Thanks.
2007-02-2106:04:57
·
2 answers
·
asked by
meg2
Finding words from a list in Excel?
I have a list of 30000 names in the form johnsmith and I know if I wanted to flag all the cells with "johnsmith" I could write: =(VLOOKUP(A1,names,1,FALSE),A1... where A1 is the what I'm testing and names is the table of names that I want to key in on. But what if I wanted all names with smith? I assume I need something like: FIND(VLOOKUP(A1,test,1,FALSE),... but it won't work. *Note the names are in the form johnsmith, so with no space I have nothing to parse on, so I will need some kind of find function
2007-02-2105:35:18
·
4 answers
·
asked by
eltel29101
I am trying to write a program for my online Java programming class. It is requiring me to write a program that displays a diamond using asterisks. I can get the nested for statements to display the number of asterisks correctly but I cannot manage to figure out how to insert the spaces so that it looks like a diamond (i.e. the first one should be 5 spaces from the left). Help is greatly appreciated.
2007-02-2105:12:14
·
5 answers
·
asked by
Anonymous