Computers and Technology, 17.12.2019 02:31 azduce
The programmer intended the following pseudocode to get five sets of two numbers each, calculate the sum of each set, and calculate the sum of all the numbers entered. it will not function as intended, however. find the error.//this program calculates the sum of five sets of two numbers. declare integer number, sum, total declare integer sets, numbers constant integer max_sets = 5 constant integer max_numbers = 2 set sum = 0; set total = 0; for sets = 1 to max_numbers for numbers = 1 to max_sets display "enter number ", numbers, " of set ", sets, "." input number; set sum = sum + number end for display "the sum of set ", sets, " is ", sum, "." set total = total + sum set sum = 0 end for display "the total of all the sets is ", total, "."
Answers: 1
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
Computers and Technology, 24.06.2019 04:30
How do you share someone elseโs tweet with your own twitter followers?
Answers: 1
The programmer intended the following pseudocode to get five sets of two numbers each, calculate the...
Mathematics, 04.05.2020 23:54
Mathematics, 04.05.2020 23:54
Engineering, 04.05.2020 23:54
Biology, 04.05.2020 23:54
Mathematics, 04.05.2020 23:54
Mathematics, 04.05.2020 23:54
Mathematics, 04.05.2020 23:54
Business, 04.05.2020 23:54
Mathematics, 04.05.2020 23:54
Mathematics, 04.05.2020 23:54