Answer: we need the awnser key
Explanation:
Can someone help me out by coding this c into HLA(High Level Assembly)language. I am having so difficulty writting in HLA. That would be appreciated.
program crazy_8s;
#include ("stdlib.hhf");
static
num1: int16;
num2: int16;
num3: int16;
tens: int16;
eight_found: boolean;
begin crazy_8s;
eight_found := false;
while (1)
{
stdout.put("Gimme a number: ");
stdin.get(num1);
tens := num1 / 10 * 10;
if (tens == 8)
{
stdout.put("One of them ends in eight!");
eight_found := true;
break;
}
stdout.put("Gimme a number: ");
stdin.get(num2);
tens := num2 / 10 * 10;
if (tens == 8)
{
stdout.put("One of them ends in eight!");
eight_found := true;
break;
}
stdout.put("Gimme a number: ");
stdin.get(num3);
tens := num3 / 10 * 10;
if (tens == 8)
{
stdout.put("One of them ends in eight!");
eight_found := true;
break;
}
if (!eight_found)
{
stdout.put("Sorry Charlie! You lose the game!");
break;
}
}
end crazy_8s;
Below is the provided C code translated into HLA (High Level Assembly) language:
program crazy_8s;
#include ("stdlib.hhf")
static
num1: int16;
num2: int16;
num3: int16;
tens: int16;
eight_found: boolean;
begin crazy_8s;
eight_found := false;
while (1) {
stdout.put("Gimme a number: ");
stdin.gets(num1);
tens := num1 div 10 * 10;
if (tens = 8) then
stdout.put("One of them ends in eight!")
eight_found := true;
break;
endif
stdout.put("Gimme a number: ");
stdin.gets(num2);
tens := num2 div 10 * 10;
if (tens = 8) then
stdout.put("One of them ends in eight!")
eight_found := true;
break;
endif
stdout.put("Gimme a number: ");
stdin.gets(num3);
tens := num3 div 10 * 10;
if (tens = 8) then
stdout.put("One of them ends in eight!")
eight_found := true;
break;
endif
Thus, this can be the code asked.
For more details regarding HLA, visit:
https://brainly.com/question/13034479
#SPJ1
21
Select the correct answer.
Which task occurs just before the maintenance phase?
O A reviewing prerequisites
B.
final reviewing and deploying the product
C. training end users to operate the product
D.
site surveying
O E reviewing all manuals and plans
Edmentum/Plato
The task, final reviewing and deploying the product occurs just before the maintenance phase. The correct option is B.
The task that takes place just before the maintenance phase is the last review and deployment of the product.
At this step, the software or product is thoroughly examined to make sure it complies with all the prerequisites and quality standards. Before the product is deployed or made available to end users, any outstanding problems or faults are addressed and fixed.
Final testing, user acceptability testing, and preparing the product for deployment in the production environment are additional tasks included in this phase.
The product can be made available for usage by the intended end users after the final review is finished and it is determined that it is ready.
Thus, the correct option is B.
For more details regarding testing, visit:
https://brainly.com/question/31941684
#SPJ1
Your organization sometimes needs to securely share information with three clients organizations. What will you use so your clients get partial access to resources on your organization’s network?
Answer:
Personnellement j'utiliserai un logiciel qui permet de paramétrer la limite d'accès aux organisations sur des ressources partagées.
Explanation:
package Unit3_Mod2;
public class ImageExample3 {
public static void main (String[] argv)
{
int[][][] A = {
{
{255,200,0,0}, {255,150,0,0}, {255,100,0,0}, {255,50,0,0},
},
{
{255,0,200,0}, {255,0,150,0}, {255,0,100,0}, {255,50,0,0},
},
{
{255,0,0,200}, {255,0,0,150}, {255,0,0,100}, {255,0,0,50},
},
};
// Add one pixel on each side to give it a "frame"
int[][][] B = frameIt (A);
ImageTool im = new ImageTool ();
im.showImage (B, "test yellow frame");
}
public static int[][][] frameIt (int[][][] A)
{
static int[][][] copy(int[][][] A)
{
int i, j, x;
//declaring a new array with size of original array A
int[][][] ArrayCopy = new int[A.length][][];
//iterate through rows original array
for (i = 0; i < A.length; i++) {
ArrayCopy[i] = new int[A[i].length][];
//Iterate through columns in the array
for (j = 0; j < A[i].length; j++) {
ArrayCopy[i][j] = new int[A[i][j].length];
//iterate through third dimension
for (x = 0; x < A[i][j].length; x++) {
ArrayCopy[i][j][x] = A[i][j][x];
}
}
}
//return the copy of the original array
return ArrayCopy;
}
}
In java, change black frame border to yellow colored frame
Note that to change the black frame border to a yellow-colored frame in the given Java code, you can modify the frameIt method as follows.
What is the modified code?public static int[][][] frameIt(int[][][] A) {
int[][][] ArrayCopy = copy(A); // Create a copy of the original array
// Iterate over the first and lastrows
for (int j = 0; j < A[0].length;j++) {
ArrayCopy[0][j][0] =255; // Set red value to 255
ArrayCopy[0][j][1] = 255; // Set green value to 255
ArrayCopy[0][j][2] = 0; // Set blue value to 0
ArrayCopy[A.length - 1][j][0] = 255; // Set red value to 255
ArrayCopy[A.length - 1][j][1] = 255; // Set green value to 255
ArrayCopy[A.length - 1][j][2] = 0; // Set blue value to 0
}
// Iterate over thefirst and last columns
for(int i = 0; i < A.length; i+ +) {
ArrayCopy[i][0][0] = 255; //Set red value to 255
ArrayCopy[i][0][1] = 255; // Set green value to255
ArrayCopy[i][0][2] = 0; // Set blue value to 0
ArrayCopy[i][A[i].length - 1][0] = 255;// Set red value to 255
ArrayCopy[i][A[i].length - 1][1] =255; // Set green value to 255
ArrayCopy[i][A[i].length - 1][2] = 0; // Set blue value to 0
}
return ArrayCopy;
}
Learn more about Java:
https://brainly.com/question/26789430
#SPJ1
Select the correct answer from each drop-down menu.
Which two components help input data in a computer and select options from the screen, respectively?
✓inputs data into computers in the form of text, numbers, and commands. However, a
commands from the screen.
A
Reset
Next
✓selects options and
Which two components help input data in a computer and select options from the screen, respectively?
✓ Keyboard inputs data into computers in the form of text, numbers, and commands. However, a
✓ Mouse selects options and commands from the screen.
A
Reset
Next
To know more about input data refer here
https://brainly.com/question/30256586#
#SPJ11
The layer that represent information as Binary numbers 0s and 1s
information
communication
programming
Hardware
The layer that represent information as Binary numbers 0s and 1s "Hardware" (Option D)
Why is binary important to computing?Binary numbers and binary math are used by computers because they considerably simplify their work. It is easier to store or modify the numbers since there are just two choices (0 and 1) for each digit rather than ten.
Hardware components of a computer system, such as transistors, logic gates, and memory circuits, process and store information using binary digits (bits), which can have a value of 0 or 1.
Learn more about Binary Numbers:
https://brainly.com/question/31662989
#SPJ1