Triton Posted October 20, 2006 at 12:52 AM Report #58730 Posted October 20, 2006 at 12:52 AM 1. Display series of numbers (1,2,3,4, 5....etc) in an infinite loop. The program should quit if someone hits a specific key (Say ESCAPE key). 2. Fibonacci series, swapping two variables, finding maximum/minimum among a list of numbers. 3. Accepting series of numbers, strings from keyboard and sorting them ascending, descending order. 4. Reynolds number is calculated using formula (D*v*rho)/mu Where D = Diameter, V= velocity, rho = density mu = viscosity Write a program that will accept all values in appropriate units (Don't worry about unit conversion) If number is < 2100, display Laminar flow, If it’s between 2100 and 4000 display 'Transient flow' and if more than '4000', display 'Turbulent Flow' (If, else, then...) 5. Modify the above program such that it will ask for 'Do you want to calculate again (y/n), if you say 'y', it'll again ask the parameters. If 'n', it'll exit. (Do while loop) While running the program give value mu = 0. See what happens. Does it give 'DIVIDE BY ZERO' error? Does it give 'Segmentation fault..core dump?'. How to handle this situation. Is there something built in the language itself? (Exception Handling) 6. Scientific calculator supporting addition, subtraction, multiplication, division, square-root, square, cube, sin, cos, tan, Factorial, inverse, modulus 7. Printing output in different formats (say rounding up to 5 decimal places, truncating after 4 decimal places, padding zeros to the right and left, right and left justification)(Input output operations) 8. Open a text file and convert it into HTML file. (File operations/Strings) 9. Time and Date : Get system time and convert it in different formats 'DD-MON-YYYY', 'mm-dd-yyyy', 'dd/mm/yy' etc. 10. Create files with date and time stamp appended to the name 11. Input is HTML table, Remove all tags and put data in a comma/tab separated file. 12. Extract uppercase words from a file, extract unique words 13. Implement word wrapping feature (Observe how word wrap works in windows 'notepad') 14. Adding/removing items in the beginning, middle and end of the array. 15. Are these features supported by your language: Operator overloading, virtual functions, references, pointers etc. <3 life
NuGuN Posted October 20, 2006 at 08:22 AM Report #58748 Posted October 20, 2006 at 08:22 AM Axo que vou utilizar istu com o Python 😉 Cumps
karva Posted October 20, 2006 at 02:20 PM Report #58791 Posted October 20, 2006 at 02:20 PM agora tou a tentar aprende vb, vou tentar fazer isso Proud LEIC-A@IST student!
Johnny Digital Posted December 2, 2006 at 01:04 AM Report #68243 Posted December 2, 2006 at 01:04 AM 4. Reynolds number is calculated using formula (D*v*rho)/mu Where D = Diameter, V= velocity, rho = density mu = viscosity Write a program that will accept all values in appropriate units (Don't worry about unit conversion) If number is < 2100, display Laminar flow, If its between 2100 and 4000 display 'Transient flow' and if more than '4000', display 'Turbulent Flow' (If, else, then...) ehehhee... não basta fazer o classico Fahrenheit para Celsius? 😛
Procrastinator Posted December 3, 2006 at 06:50 PM Report #68489 Posted December 3, 2006 at 06:50 PM A nº 15 n ta incompleta????
Triton Posted December 3, 2006 at 06:51 PM Author Report #68491 Posted December 3, 2006 at 06:51 PM Penso que ele queira dizer para explorares aqueles conceitos se forem suportados pela linguagem em questão. <3 life
Procrastinator Posted December 3, 2006 at 06:55 PM Report #68494 Posted December 3, 2006 at 06:55 PM Pois eu percebi mas tava mais a pensar tipo, se existirem tenta fazer isto e aquilo etc
CityTrash Posted January 5, 2007 at 10:58 AM Report #74539 Posted January 5, 2007 at 10:58 AM muito util...inda por cima agora que vou comecar com o asp ^^
Procrastinator Posted January 5, 2007 at 01:59 PM Report #74568 Posted January 5, 2007 at 01:59 PM n te metas em asp, aprende sim php
CuotlX Posted October 6, 2007 at 01:46 PM Report #137506 Posted October 6, 2007 at 01:46 PM vou tentar a minha sorte em C# e java
softklin Posted October 19, 2007 at 07:07 PM Report #141471 Posted October 19, 2007 at 07:07 PM Desculpem tar a renascer o topico, mas era so para expressar a minha opinião, eu fazia apenas uma coisa simples: uma calculadora com as quatro operações aritmeticas... E claro, para agradecer, bom conjunto de exercicios 🙂 Nick antigo: softclean | Tens um projeto? | Wiki P@P Ajuda a comunidade! Se encontrares algo de errado, usa a opção "Denunciar" por baixo de cada post.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now