Question: Write a program using for loop that calculates the sum of integers between two integers prompt the user to enter two integers Write a program
Write a program using a for loop that calculates the sum of all integers between two integers. Prompt the user to enter two integers. Assume the user enters the small number first and te large number second. 1) see below for sample output Microsoft Visual Studio Debug Console nter the small integer: 1 nter the 1arge integer:5 sum of a11 integers from 1 to s is 15 Write a program using a while loop to determine the number of scores which is greater than 90. Prompt the user to enter scores separated by whitespace. Use end of data loop (see chapter 4 lecture notes). 2) See below for sample output Microsoft Visual Studio Debug Console Enter scores seperated by whitespace: 98 52 14 92 45 97 12 2 3 scores are greater than 90
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
