Question: Please help me fix the errors in C. I attached the assignment, my code, and the errors I am receiving. DESCRIPTION Write a program that

Please help me fix the errors in C. I attached the assignment, my code, and the errors I am receiving. Please help me fix the errors in C. I attached the assignment,my code, and the errors I am receiving. DESCRIPTION Write a programthat uses while loops to perform the following steps: Prompt the userto input two integers: firstNum and secondNum (firstNum must be less than

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 secondNum 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 17 16 Square of Number 400 361 324 289 256 225 196 169 144 121 100 15 14 13 12 11 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. 7 #include 8 9 int main() 10-{ 11 int firstNum, secondNum; 12 printf("Enter two integers. "); 13 printf("First number must be less than "); 14 printf("the second number you enter "); 15 printf("Enter 2 integer numbers: "); 16 scanf("%d%d",&firstNum , &secondNum); 17 int i=firstNum, sum=0; 18 while(i=firstNum) { 44 printf(" %d %d ",i,i*i); 45 i=i-1; 46 } 47 printf(" Upper case letters are: "); 48 char c='A'; 49 50 while(c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!