Comma and period? You can have numbers like 123,456.78
1. non photorealistic rendering
2. siftables
3. spherical audio
4. blu ray
The pseudocode to calculate the average of the test scores until the user enters a negative input serves as a prototype of the actual program
<h3>The errors in the pseudocode</h3>
The errors in the pseudocode include:
- Inclusion of unusable segments
- Incorrect variables
- Incorrect loops
<h3>The correct pseudocode</h3>
The correct pseudocode where all errors are corrected and the unusable segments are removed is as follows:
start
Declarations
num test1
num test2
num test3
num average
output "Enter score for test 1 or a negative number to quit"
input test1
while test1 >= 0
output "Enter score for test 2"
input test2
output "Enter score for test 3"
input test3
average = (test1 + test2 + test3) / 3
output "Average is ", average
output "Enter score for test 1 or a negative number to quit"
input test1
endwhile
output "End of program"
stop
Read more about pseudocodes at:
brainly.com/question/11623795
How efficient well if we are transmitting 6bits and we need 10 to transmit the 6 bits that would be 6/10 = .6 = 60% efficient.
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
class NestedLoops {
public static void main (String [] args) {
int numRows = 4;
int numCols = 5;
int i,j;
char ch = 'A';
// Note: You'll need to declare more variables
/* Your solution goes here */
for ( i = 0; i < numRows; i++) { // Outer loop runs for numRows times
for ( j = 0; j < numCols; j++) { // Inner loop runs for numCols times
System.out.print(i+1);
System.out.print((char)(ch+j));
System.out.print(" ");
}
}
System.out.println("");
return;
}
}