Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C please. NOT C++ or Java DESCRIPTION Write a program that uses while loops to perform the following steps: Prompt the user to input

image text in transcribed

In C please. NOT C++ or Java

DESCRIPTION Write a program that uses while loops to perform the following steps: Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum) Output the sum of the square of the odd integers between firstNum and secondNum Output all odd integers between firstNum and secondNum, in ascending order Output the sum of all even integers between firstNum and second um Output the integers and their squares between firstNum and secondNum, in descending order Output all the UPPERCASE letters (be sure to use a while loop) All ranges include the end points (firstNum and secondNum). For example: Enter two integers. First number must be less than the second number you enter Enter 2 integers numbers: 10 20 Sum of the squares of odd integers between 10 and 20 = 1165 Odd integers between 10 and 20 are: 11 13 15 17 19 Sum of even integers between 10 and 20 = 90 Number 20 19 18 Square of Number 400 361 324 289 256 225 196 17 16 15 14 13 12 169 11 144 121 100 10 Upper case letters are: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z HINTS: You MUST use at least 3 while loops! Pay special attention to your printf format descriptors

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions

Question

Why is it said that FTP sends control information "out-of-band"?

Answered: 1 week ago

Question

3. Give that person the feedback, that is, say it to the person.

Answered: 1 week ago

Question

What are the objectives of performance appraisal ?

Answered: 1 week ago

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago