![]() |
|
| *AX SOFT>>>Programming & Design |
How to Write a C program with a loop that asks user to enter a series of integers in the range of [-100 100].? |
How to Write a C program with a loop that asks user to enter a series of integers in the range of [-100 100]. If user enters a number out of that range, your program shouldn鈥檛 consider it, and should ask for a new number. The user should enter 0 to stop the loop. When the loop stops, we want your program to display Your loop will be a while loop #!/bin/c You should at least try to do your own homework before asking for someone to do it for you. Give it a try, and ask questions about what you don't understand. |
| Tags |
| General - Computers & Internet Software Security Programming & Design Facebook Flickr Google MSN MySpace |
| Related information |
This line is illegal: int 1=1,n,f; as "int" is used to declare a variable of type integer. You could always try saying int one = 1; int f; but I have no idea what the n is doing th... What kind of authentication are you using? Windows authentication? Forms authentication? A custom solution? I'm lead to believe that perhaps you're using Windows authentication, and th... hehe, good question. The answer is it can't. In the absence of this, 'pseudorandom' is good enough. If it appears random to us, what's the difference? A common technique use... In firefox you go to tools options content. Then click the check box next to enable java script. In internet explorer you go to tools internet options then click the security tab, set your own cust... Very nice. You will be a successful web designer when you finish school. As the other said, the content has bad spelling and grammar which should be reviewed. ...... Faren = JOptionPane.showInputDialog("X: ) f = Double.parseDouble(Faren); That's 2 line's of code, and you didn't close your String. Change to... Faren = JOptionPane.show... i've been doing banners at skool for my it coursework and i had to use dreamweaver to do it ... |
Categories--Copyright/IP Policy--Contact Webmaster |