How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask neelimark Your Own Question

neelimark
neelimark, Computer Software Engineer
Category: Programming
Satisfied Customers: 494
Experience:  High Expertise in Javascript ,HTML,CSS, VB.Net, JAVA,C++,C# ,PHP,ASP, VBA programming
29346447
Type Your Programming Question Here...
neelimark is online now
A new question is answered every 9 seconds

Write a program that uses while loops to perform the following

This answer was rated:

Write a program that uses while loops to perform the following Steps:
a. Prompt the user to input two integers: firstNum and secondNum.
(firstNum must be less than secondNum.)
b. Output all the odd numbers between firstNum and secondNum inclusive.
c. Output the sum of all the even numbers between firstNum and secondNum inclusive.
d. Output all the numbers and their squares between 1 and 10.
e. Output the sum of the squares of all the odd numbers between firstNum and secondNum inclusive.
f. Output all the uppercase letters.
HI,

in which language you need this to be done ?

and what's the dead line ?
Customer: replied 6 years ago.
I need this before tommorow! And the language is JAVA. Can you do this now?
HI,

i will provide the answer as soon as possible
HI,

i have completed it . you can download it from this link

http://wikisend.com/download/406012/myProg.zip


please let me know if you need any changes
Customer: replied 6 years ago.
Wait i'll just review it!
Customer: replied 6 years ago.
Hey your answer is wrong! When i enter 4 for num1 and 100 for num2 it ask me to press any key and exit! I thought this site is good?
HI,

i will correct it and send you now
HI,

sorry for other program .. it was actually writing to a file.

please download the file from this link

http://wikisend.com/download/486172/NumberTest.zip


please check this and let me know if you need any changes
neelimark and 2 other Programming Specialists are ready to help you
Customer: replied 6 years ago.
Sir your codes is perfect but there something that I miss to explain to you about the last question! You don't have to input character to make it Uppercase! But to display its ASCII Character! Can you help me with this? Promise, this will be the last! Need it very badly. Thanks.
HI,

could you please explain ? you mean when you enter some characters it needs to be converted to its ASCII ?
Customer: replied 6 years ago.
No sir, only the answer with UPPERCASE letter needs to display! Ex. When you input 33 for the first number the ASCII is "!", when you input 84 for the second number the ASCII is "T", thats the only ASCII to be displayed. Same as the number between 33 to 84 with ASCII characters needs to display as UPPERCASE.
HI,

i have completed the changes. You can download it from this link

http://wikisend.com/download/585226/NumberTest.java
neelimark and 2 other Programming Specialists are ready to help you