subject

Write a visual logic program that prompts the user for a whole number, n, that is less than or equal 50
and greater than 0. if the user enters an invalid number end the program. output the summation of the
odd numbers from 1 to n (if n is odd or n-1 if n is even. for example, if the user enters 15, the output
should be 64 (1+3+5+7+9+11+13+15.) if the user entered 12, the output should be 36 (1+3+5+7+9+11.)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Give an example of a case where a two-way handshake to establish a connection could leave one side of the connection live while the other side does not believe there is a connection.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which cultural aspect does this type of song best portray? a german polka dance
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
You know the right answer?
Write a visual logic program that prompts the user for a whole number, n, that is less than or equal...
Questions
question
Mathematics, 02.12.2021 03:40
question
Mathematics, 02.12.2021 03:40
Questions on the website: 13722363