[4 marks] Design an algorithm to calculate and print the average of 3 numbers that has been provided by user {the user is prompted to enter 3...
Question

These are computer science questions in c++ language. Please provide unique answers and quickly. I need it asap! Please answer all the questions and with full explanation.

Image transcriptions

[4 marks] Design an algorithm to calculate and print the average of 3 numbers that has been provided by user {the user is prompted to enter 3 numbers}. Assume the user enters 3 valid positive real numbers. To represent your algorithm, write the pseudocode below. [4] Write a program in C++ that implements (13. Follow the conventions and style of programming that vou have learnt so far. NOTE: For At! C++ Programs, use the aniline IDE ﬁrms'ﬂreglfr. Run your program, copy/paste the code in this template and attach a snapshot of a saccessﬁti test run. [6] {Check Number} Write a C++ program that prompts the user to enter a number, checks whether the number is positive, negative, or zero, and prints a message accordingly. You must use iflelse ifr' else. Here is a sample run: Enter a number: 4 4 is positive. [6] Write the following pseudocode in C++. What is the printout? Explain the function of the program in one sentence. Set mto 10 NHILE (gum is greater than a) Print 5.9m Set gym to GUI!) - 2 [6] {Sum of Numbers} Write the following pseudocode in C++. If the sequence of input data is 1 2 3 4 5 6 7 8 0, what is the printout? Explain the function of the program in one sentence. Set sum to 0 Read number NHILE (number is not 0) Set sum to sum + number Read number write &quot;Sum is + sum

ia pulvinar to`sque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Na`

s

`inia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui`

u

`ng elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congu`

ce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec ali

`, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna`

am

`ongue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pul`

Step-by-step explanation
4 Attachments
png
png
png
png