You use the fixed manipulator to Group of answer choices round floating-point numbers that are displayed in fixed-point notation to the specified number of decimal places round floating-point numbers that are displayed in scientific notation to the specified number of significant digits format floating-point numbers in fixed-point notation all of the above a and b only

Answers

Answer 1

Answer:

format floating-point numbers in fixed-point notation

Explanation:

Required

Function of fixed manipulator

This question will be answered from the perspective of C++ programming language (however, the explanation is applicable to programming languages that uses fixed manipulators)

Fixed manipulators in C++ is used to set floating point numbers to a stated  fixed point.

Take for instance;

double pi = 3.1415926534;

cout.precision(2);

cout<< fixed << pi;

The third line of the program where the fixed manipulator is used to format pi to 2 fixed point notation.

Hence, the output will be 3.14


Related Questions

Write a program that lets the user perform arithmetic operations on fractions. Fractions are of the form a/b, in which a and b are integers and b is not equal to 0. Your program must be menu driven, allowing the user to select the operation ( , -, *, or /) and input the numerator and the denominator of each fraction. Furthermore, your program must consist of at least the following function

menu: This function informs the user about the program's purpose, explains how to enter data, how to quit and allows the user to select the operation.
addFractions: This function takes as input four integers representing the numerators and denominators of two fractions, adds the fractions, and returns the numerator and denominator of the result.
subtractFractions: This function takes as input four integers representing the numerators and denominators of two fractions, subtracts the fractions, and returns the numerator and denominator of the result.
multiplyFractions: This function takes as input four integers representing the numerators and denominators of two fractions, multiplies the fractions, and returns the numerator and denominator of the result.
divideFractions: This function takes as input four integers representing the numerators and denominators of two fractions, divides the fractions, and returns the numerator and denominator of the result.

Here are some sample outputs of the program:

3 / 4 +2 / 5 = 23 / 20
2 / 3 * 3 / 5 = 2 / 5

Answers

Answer:

Explanation:

The following code is written in Java, It asks the user to enter the numerator and denominator for both fraction 1 and 2. Then it prompts the user with a menu to choose the desired operation. The choice is passed into a switch statement and calls the correct function.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       int num1, num2, den1, den2;

       System.out.println("Enter numerator for fraction 1: ");

       num1 = in.nextInt();

       System.out.println("Enter denominator for fraction 1: ");

       den1 = in.nextInt();

       System.out.println("Enter numerator for fraction 2: ");

       num2 = in.nextInt();

       System.out.println("Enter denominator for fraction 2: ");

       den2 = in.nextInt();

       System.out.println("Menu:");

       System.out.println("+ = add fractions");

       System.out.println("- = subtract fractions");

       System.out.println("/ = divide fractions");

       System.out.println("* = multiply fractions");

       String answer = in.next();

       switch (answer.charAt(0)) {

           case '+': add(num1, den1, num2, den2); break;

           case '-': subtract(num1, den1, num2, den2); break;

           case '*': multiply(num1, den1, num2, den2); break;

           case '/': divide(num1, den1, num2, den2); break;

       }

   }

   public static void add(int num1, int den1, int num2, int den2) {

       int num3 = (num1 * den2) + (num2 * den1);

       int den3 = den1 * den2;

       System.out.println("New Fraction: " + num3 + " / " + den3);

   }

   public static void subtract(int num1, int den1, int num2, int den2) {

       int num3 = (num1 * den2) - (num2 * den1);

       int den3 = den1 * den2;

       System.out.println("New Fraction: " + num3 + " / " + den3);

   }

   public static void divide(int num1, int den1, int num2, int den2) {

       int num3 = num1 * den2;

       int den3 = den1 * num2;

       System.out.println("New Fraction: " + num3 + " / " + den3);

   }

   public static void multiply(int num1, int den1, int num2, int den2) {

       int num3 = num1 * num2;

       int den3 = den1 * den2;

       System.out.println("New Fraction: " + num3 + " / " + den3);

   }

}

is used for finding out about objects, properties and methods​

Answers

Answer:

science

Explanation:

A field is a group of related records that can be identified by the user with a name, type, and size.

Answers

Answer: False

Explanation:

The statement that a field is referred to as a group of related records which can be identified by the user with a name, type, and size is wrong.

The above definition represents a table. The group of related records is referred to as a table. On the other hand, a field refers to a set of data values, which are of identical data type.

What is the function of a bread crumb trial in a website

Answers

Answer:

A “breadcrumb” (or “breadcrumb trail”) is a type of secondary navigation scheme that reveals the user's location in a website or Web application. The term comes from the Hansel and Gretel fairy tale in which the two title children drop breadcrumbs to form a trail back to their home.

Explanation:

A breadcrumb or breadcrumb trail is a graphical control element frequently used as a navigational aid in user interfaces and on web pages. It allows users to keep track and maintain awareness of their locations within programs, documents, or websites. Breadcrumbs make it easier for users to navigate a website – and they encourage users to browse other sections of the site. ... You head to their site and end up on The Nestle company history page. Using their breadcrumbs, you can easily navigate back to About Us, History, or even their home page.

Describe how being a global citizen in the world of advanced technology can be beneficial to your success in meeting your personal, academic, and professional goals.

Answers

Answer:

well you could have more options of careers and more possibilities, online jobs can pay more and give more experience to the employees

6.12 LAB: Warm up: Parsing strings (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill,Allen Ex: Enter input string: Jill, Allen (2) Report an error if the input string does not contain a comma. Continue to prompt until a valid string is entered. Note: If the input contains a comma, then assume that the input also contains two strings. (2 pts)

Answers

Answer:

Explanation:

The following code is written in Python. It is a loop that asks the user for an input. If it contains a comma then it removes whitespace, splits it into two words, and prints each word seperately, and exits the loop. If it does not contain a comma then it prompts the user for another input.

while True:

   string = input("Enter input string: ")

   if ',' in string:

       string = string.replace(" ", '')

       string_split = string.split(',')

       print("First word: " + string_split[0])

       print("Second word: " + string_split[1])

       break

Define a structure Triangle that contains three Point members. Write a function that computes the perimeter of a Triangle . Write a program that reads the coordinates of the points, calls your function, and displays the result

Answers

Answer:

The program in C++ is as follows:

#include <iostream>    

using namespace std;

int perimeter(int side1, int side2, int side3){

return side1+side2+side3;

}

struct Triangle  {

int side1;  int side2;   int side3;

};

int main(void) {

int side1, side2, side3;

cout<<"Sides of the triangle: ";

cin>>side1>>side2>>side3;

struct Triangle T;

T.side1 = side1;

T.side2 = side2;

T.side3 = side3;  

cout << "Perimeter: " << perimeter(T.side1,T.side2,T.side3) << endl;

return 0;

}

Explanation:

See attachment for complete code where comments are as explanation

You have been given an encrypted copy of the Final exam study guide here, but how do you decrypt and read it???

Along with the encrypted copy, some mysterious person has also given you the following documents:

helloworld.txt -- Maybe this file decrypts to say "Hello world!". Hmmm.

hints.txt -- Seems important.

In a file called pa11.py write a method called decode(inputfile,outputfile). Decode should take two parameters - both of which are strings. The first should be the name of an encoded file (either helloworld.txt or superdupertopsecretstudyguide.txt or yet another file that I might use to test your code). The second should be the name of a file that you will use as an output file. For example:

decode("superDuperTopSecretStudyGuide.txt" , "translatedguide.txt")

Your method should read in the contents of the inputfile and, using the scheme described in the hints.txt file above, decode the hidden message, writing to the outputfile as it goes (or all at once when it is done depending on what you decide to use).

Hint: The penny math lecture is here.

Another hint: Don't forget about while loops...

Answers

Answer:

                                               

Explanation:

               

I have some true or false questions I need help with. 9th grade.**

Handware can be tracked back to ancient times. Over six centuries ago.
True or false.

Hardware is only found in computers.
True or false. I know

Instruments and weaving looms where some of the first pieces of hardware.
True or false.

Computers and hardware is the same thing
True or false.

Answers

Answer:

Hardware can be traced back to ancient times. False

Hardware is only found in computers. False

Instruments and weaving looms were some of the first pieces of hardware. False

Computers and hardware is the same thing. This question is a bit broad but there's many different types of hardware. From keyboards to printers to speakers.

I tried my best not exactly sure though.

Write a program that lets a maker of chips and salsa keep track of sales for five different types of salsa: mild, medium, sweet, hot, and zesty. The program should use two parallel 5-element arrays: an array of strings that holds the five salsa names and an array of integers that holds the number of jars sold during the past month for each salsa type. The salsa names should be stored using an initialization list at the time the name array is created. The program should prompt the user to enter the number of jars sold for each type. Once this sales data has been entered, the program should produce a report that displays sales for each salsa type, total sales, and the names of the highest selling and lowest selling products.

Answers

Answer:

The program in Java is as follows:

import java.util.*;

public class Main{

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 String [] salsa = {"Mild","Medium","Sweet","Hot","Zesty"};

 int [] number = new int[5];

 for(int i = 0;i<5;i++){

     System.out.print(salsa[i]+" number: ");

     number[i] = input.nextInt();

 }

 for(int i = 0;i<5;i++){

     System.out.println(salsa[i]+" : "+number[i]);

 }

 int smallest = number[0];  int highest = number[0];

 int count = 0;

 for(int i = 0;i<5;i++){

     if(smallest > number[i]){

         smallest = number[i];

         count = i;

     }

 }

 System.out.println("Smallest");

 System.out.println(salsa[count]+" : "+smallest);

    for(int i = 0;i<5;i++){

     if(highest < number[i]){

         highest = number[i];

         count = i;

     }

 }

 System.out.println("Highest");

 System.out.println(salsa[count]+" : "+highest);

}

}

Explanation:

This initializes the salsa names

 String [] salsa = {"Mild","Medium","Sweet","Hot","Zesty"};

This declares the array for the amount of salsa

 int [] number = new int[5];

This iterates through the 5 salsas and get input for the amount of each

 for(int i = 0;i<5;i++){

     System.out.print(salsa[i]+" number: ");

     number[i] = input.nextInt();

 }

This prints each salsa and the amount sold

 for(int i = 0;i<5;i++){

     System.out.println(salsa[i]+" : "+number[i]);

 }

This initializes smallest and largest to the first array element

 int smallest = number[0];  int highest = number[0];

This initializes the index of the highest or lowest to 0

 int count = 0;

The following iteration gets the smallest of the array elements

 for(int i = 0;i<5;i++){

     if(smallest > number[i]){

         smallest = number[i];

This gets the index of the smallest

         count = i;

     }

 }

This prints the smallest

 System.out.println("Smallest");

 System.out.println(salsa[count]+" : "+smallest);

The following iteration gets the largest of the array elements    

for(int i = 0;i<5;i++){

     if(highest < number[i]){

         highest = number[i];

This gets the index of the highest

         count = i;

     }

 }

This prints the highest

 System.out.println("Highest");

 System.out.println(salsa[count]+" : "+highest);

Which XXX completes the definition of the generic method, avgNum?
public class FindAverage { XXX { long tripleSum; tripleSum = item1.longValue() + item2.longValue() + item3.longValue(); return tripleSum / 3; } }
a. public static long avgNum(long item1, long item2, long item3)
b. public static long avgNum(TheType item1, TheType item2, TheType item3)
c. public static long avgNum(TheType item1, TheType item2, TheType item3)
d. public static avgNum(TheType item1, TheType item2, TheType item3)

Answers

Answer:

Explanation:

The correct piece of code for the generic method in the question would be the following...

public static <TheType extends Number> long avgNum(TheType item1, TheType item2, TheType item3)

This declaration of the avgNum method declares this method as a Generic TheType method that is a subclass of the Number class. It also takes in generic parameters which are the same as the Generic class that was declared. Finally, outputting a long value which would be tripleSum / 3

Your company has a benchmark that is considered representative of your typical applications. One of the older-model workstations does not have a floating-point unit and must emulate each floating-point instruction by a sequence of integer instructions. This older-model workstation is rated at 120 MIPS on this benchmark. A 3rd -party vendor offers an attached processor that is intended to give a hardware accelerator to your workstation. The attached processor executes each floating-point instruction on a dedicated processor, without emulation. The workstation/attached processor rates 80 MIPS on the same benchmark. The following symbols are used to answer this exercise:

I – Number of integer instructions executed on the benchmark
F – Number of floating-point instructions executed on the benchmark
Y – Number of integer instructions to emulate a float-point instruction
W – Time to execute the benchmark on the processor alone
B – Time to execute the benchmark on the processor/coprocessor combination.

Required:
a. Write an equation for the MIPS rating of each configuration using the symbols above.
b. What is the value of B?
c. What is the MFLOPS rating of the system with the coprocessor?
d. Your colleague wants to purchase the coprocessor even though the MIPS rating for the configuration using the coprocessor is less than that of the processor alone. Is your colleague’s evaluation correct?

Answers

Answer:

a-The equation for processor only configuration is [tex]120\times 10^6=\dfrac{I+YF}{W}\\[/tex] while that for processor and co-processor configuration is [tex]80\times10^6=\dfrac{I+F}{B}[/tex].

b-The value of B is 1.1 second.

c-The value of MFLOPS for co-processor system in configuration 2 is 80 MFLOPS.

d-The evaluation of your colleague is correct.

Explanation:

a

The MIPS rating equations are as follows

Configuration 01 (Processor only)

[tex]120\times 10^6=\dfrac{I+YF}{W}\\[/tex]

Configuration 02 (Processor + Co-processor)

[tex]80\times10^6=\dfrac{I+F}{B}[/tex]

b

From the equation, for processor and co-processor equation the value of B is calculated. For it to be calculated, the I value is calculated from the processor configuration with the following data F= 8 * 10^6 . Y= 50, W = 4 sec:

[tex]I=120\times10^6\timesW-YF\\I=(120\times10^6\times4)-(8\times10^6\times50)\\I=80\times10^6 \text{instructions}[/tex]

Using this value of I gives

[tex]B=\dfrac{I+F}{80\times10^6}\\B=\dfrac{80\times10^6+8\times10^6}{80\times10^6}\\B=\dfrac{88\times10^6}{80\times10^6}\\B=1.1\text{second}[/tex]

The value of B is 1.1 second.

c

The MFLOPS rating of configuration 2 is given as

[tex]\text{MFLOPS}=\dfrac{F}{B-\dfrac{I}{MIPS_{proc+coproc}}}\\\text{MFLOPS}=\dfrac{8\times10^6}{1.1-\dfrac{80\times10^6}{80\times10^6}}\\\text{MFLOPS}=\dfrac{8\times10^6}{1.1-1}\\\text{MFLOPS}=\dfrac{8\times10^6}{0.1}\\\text{Processor+Coprocessor MFLOPS}=80 \text{MFLOPS}[/tex]

So the value of MFLOPS for co-processor system in configuration 2 is 80 MFLOPS.

d

The value of W is 4 seconds while the value of B is 1.1 seconds. Despite being the configuration with lower MIPS, the co-processor configuration has a lower execution rate and thus the evaluation of your colleague is correct.

A decimal number is called a float.
True
False

Answers

Answer: True

Explanation:

The term floating point is derived from the fact that there is no fixed number of digits before and after the decimal point; that is, the decimal point can float. There are also representations in which the number of digits before and after the decimal point is set, called fixed-pointrepresentations.

Answer:

It's true

Explanation:

One advantage of animal photography in zoos is that you can often get closer to the animal for your photograph than you would be able to in the wild.

True
False

Answers

Answer:

true

Explanation:

because its live

the answer would be true

NEED HELP IMMEDIATELY!!
Highlight the upsides and downsides of seeking online help for a technical problems.

Answers

Answer:

Pros: Experts are there to help, Help can be found almost 24 hours of the day so you don't have to wait for an expert to be available, easier to ask more in detail.

Cons: Answers may not always come quickly, there is no face to face interaction so you dont know how legit the person is, some advice may be incorrect or old.

Explanation:

what does this mean on a tamagotchi lol (this is the hello kitty one)

Answers

I not sure but I think it’s an apple.

I don't have that tamagotchi

But I do have 2 tamagotchi's

I think it's a cherry on your tamagotchi

Hoped this helped!

Have a wonderful day-

Mark is six years younger than his sister Teri. Their combined ages equals 86. How old are Mark and Teri?
Mark's age = x
Teri's age = y​

Answers

Answer:

x = 40

y = 46

Explanation is in the image above.

A function checkZeros accepts three double parameters. It checks to see if the sum of all three parameters is equal to zero. If this sum is equal zero, the function returns true, otherwise the function returns false. 1. Give an example CALL from main: 2. Write the prototype for the function: 3. Write down the definition (header and body) for the function.

Answers

Answer:

Explanation:

The following code is written in Java. It creates the interface/prototype, the function, and the main method call. The function takes in the three int parameters, adds them, and then checks if the sum equals zero, outputting the correct boolean value. Output can be seen in the picture attached below. Due to technical difficulties I had to add the code as a txt file below.

what connect webpages?​

Answers

Anchor tags or hyperlinks are used to connect webpages.

Answer:

"Hypertext links are those words that take you from one web page to another when you click them with your mouse. Although the same HTML tag you study in this hour is also used to make graphical images into clickable links, graphical links aren't explicitly discussed here" I got this from https://www.informit.com/articles/article.aspx?p=440289 sorry I couldnt take the time myself here to help :(

Explanation:

What is the main circuit board inside the computer called?CD-ROMY
Video card
ROM
Motherboard

Answers

Hey the motherboard is the main circuit think about it as  a base that all other parts like the ram and video card aka graphics card connect to

Hope this helps

the shadows she fancied has tricked her. what does that mean

Answers

Answer: the room had been dark, she had not been able to see him clearly

Explanation:

The word FANCIED means desire or  fancied would mean supposed, believed, or imagined.

So it means that she might think that the shadow (assuming the shadow was a person who was invisible) was just her imagination or hallucination but in reality, the shadow (invisible person) tricked her.

_________________

Brainliest would be greatly appreciated!

_________________

#SpreadTheLove

#SaveTheTrees

- Mitsu JK

3.4 code practice question 2 edhesive

Answers

???????????????????
Is there more to this question??

You work at the headquarters of an international restaurant chain. The launch of your mobile ordering app has been well received in your home country, increasing sales and customer satisfaction while decreasing order wait time and operating expenses. Your team is now ready to expand the mobile app into a handful of international markets. However, you first need to strategize what kinds of adjustments and adaptations will be needed to help ensure the app's success in these various cultural environments. Marketing director: Frankly, I'm a little surprised at the success we've seen with this app here at home. But it makes sense to keep buiding on that momentum You Yes, I think today's customers are indigenously comfortable with internet based technologies, an________ is a natural extension of that phenomenon. The challenge is to figure out how easily the app can be adapted to markets
a. e-business
b. global purchasing
c. language diversity
d. model networking

Answers

Answer: E-business

Explanation:

Based on the information given, a natural extension of that phenomenon is the E-business. E-business which means electronic business is when business is done through the internet.

It should be noted that e-business processes consist of the purchase and sale of goods and services, the processing of payments, servicing customers, sharing information regarding products, managing production control, etc.

Which of the following is the cause of transmission impairment?
Select one:
O Frequency
O Amplitude
O Attenuation
O Phase​

Answers

Answer:

attenuation is the third one

how do engineers communicate their design ideas?

Answers

Answer:

Explanation:

Mechanical engineers give Presentations when they work on projects and Proposals. Often, professional Presentations require you to verbally and graphically present preliminary designs to colleagues.

Hope this helped!!!

Write a method maxMagnitude() with two integer input parameters that returns the largest magnitude value. Use the method in a program that takes two integer inputs, and outputs the largest magnitude value.

Ex: If the inputs are: 5 7 the method returns: 7
Ex: If the inputs are: -8 -2 the method returns: -8

Answers

Answer:

The program in Java is as follows:

import java.util.*;

import java.lang.Math;

public class Main{

public static int maxMagnitude(int num1, int num2){

    int mag = num2;

    if(Math.abs(num1) > Math.abs(num2)){

        mag = num1;

    }

    return mag;

}

public static void main(String[] args) {

 int num1, num2;

 Scanner input = new Scanner(System.in);

 System.out.print("Enter two integers: ");

 num1 = input.nextInt();

 num2 = input.nextInt();

 System.out.println(maxMagnitude(num1,num2));

}

}

Explanation:

The method begins here

public static int maxMagnitude(int num1, int num2){

This initializes the highest magnitude to num2

    int mag = num2;

If the magnitude of num1 is greater than that of num2

    if(Math.abs(num1) > Math.abs(num2)){

mag is set to num1

        mag = num1;

    }

This returns mag

    return mag;

}

The main  method begins here

public static void main(String[] args) {

This declares num1 and num2 as integer

 int num1, num2;

 Scanner input = new Scanner(System.in);

This prompts the user for two integers

 System.out.print("Enter two integers: ");

This gets input for the first integer

 num1 = input.nextInt();

This gets input for the second integer

 num2 = input.nextInt();

This calls the maxMagnitude method and prints the number with the highest magnitude

 System.out.println(maxMagnitude(num1,num2));

}

answer any one: write a computer program:which you know.​

Answers

hope this helps you.look it once

write a complete program for the following situation related to the setting the speed of a car preset values before starting journey. . if speed is less than lower_set_speed, display the message "accelerate" to the screen, increases the cars speed to the lower set speed and output the new speed to screen .if speeds greater than upper_set_ speed, print the message "apply brake" to the new speed to the screen .Give all necessary documentation in the comments, including the file name. .allow the program to exit at the end. .output the speed to the screen. . how many different initial speeds will you need to test this code?

please help me it means a lot​

Answers

Answer:

Explanation:

Please specify which programming language this is supposed to be written in.

Without knowing that, only the last part can be answered "how many different initial speeds will you need to test this code?"

You will need to test at least 3 initial speeds: one below the lower-set-speed, one between the lower- and upper-set-speed and last one which is above the upper-set-speed.

script code written in many languages of the best known: ( C#_PHP_HTML)​

Answers

Answer:

PHP

Explanation:

The best way to answer this question is to interpret it as, which of the three is a scripting language.

Analyzing each of the languages

1. C#

C# is not a scripting language, but instead it is an object-oriented programming language. Also, c# is a compiled language and one of the features of scripting language is that, they are interpreted.

2. PHP

Basically, PHP are used for server side scripting language because it uses scripts and its programs are not for general purpose runtime environment (but instead for special runtime environments).

3. HTML

HTML is neither a programming language, nor a scripting language because its design pattern does not follow that or programming and scripting languages, and it can not perform what an actual programming and scripting language do.

Write a MIPS assembly language program that prompts for a user to enter a series of floating point numbers and calls read_float to read in numbers and store them in an array only if the same number is not stored in the array yet. Then the program should display the array content on the console window.
Consult the green sheet and the chapter 3 for assembly instructions for floating point numbers. Here is one instruction that you might use:
c.eq.s $f2, $f4
bc1t Label1
Here if the value in the register $f2 is equals to the value in $f4, it jumps to the Label1. If it should jump when the value in the register $f2 is NOT equals to the value in $f4, then it should be:
c.eq.s $f2, $f4
bc1f Label1
To load a single precision floating point number (instead of lw for an integer), you might use:
l.s $f12, 0($t0)
To store a single precision floating point number (instead of sw for an integer), you might use:
s.s $f12, 0($t0)
To assign a constant floating point number (instead of li for an integer), you might use:
li.s $f12, 123.45
To copy a floating point number from one register to another (instead of move for an integer), you might use:
mov.s $f10, $f12
The following shows the syscall numbers needed for this assignment.
System Call System Call System Call
Number Operation Description
2 print_float $v0 = 2, $f12 = float number to be printed
4 print_string $v0 = 4, $a0 = address of beginning of ASCIIZ string
6 read_float $v0 = 6; user types a float number at keyboard; value is store in $f0
8 read_string $v0 = 8; user types string at keybd; addr of beginning of string is store in $a0; len in $a1
------------------------------------------
C program will ask a user to enter numbers and store them in an array
only if the same number is not in the array yet.
Then it prints out the result array content.
You need to write MIPS assembly code based on the following C code.
-------------------------------------------
void main( )
{
int arraysize = 10;
float array[arraysize];
int i, j, alreadyStored;
float num;
i = 0;
while (i < arraysize)
{
printf("Enter a number:\n");
//read an integer from a user input and store it in num1
scanf("%f", &num);
//check if the number is already stored in the array
alreadyStored = 0;
for (j = 0; j < i; j++)
{
if (array[j] == num)
{
alreadyStored = 1;
}
}
//Only if the same number is not in the array yet
if (alreadyStored == 0)
{
array[i] = num;
i++;
}
}
printf("The array contains the following:\n");
i = 0;
while (i < arraysize)
{
printf("%f\n", array[i]);
i++;
}
return;
}
Here are sample outputs (user input is in bold): -- note that you might get some rounding errors
Enter a number:
3
Enter a number:
54.4
Enter a number:
2
Enter a number:
5
Enter a number:
2
Enter a number:
-4
Enter a number:
5
Enter a number:
76
Enter a number:
-23
Enter a number:
43.53
Enter a number:
-43.53
Enter a number:
43.53
Enter a number:
65.43
The array contains the following:
3.00000000
54.40000153
2.00000000
5.00000000
-4.00000000
76.00000000
-23.00000000
43.52999878
-43.52999878
65.43000031

Answers

Explanation:

Here if the value in the register $f2 is equals to the value in $f4, it jumps to the Label1. If it should jump when the value in the register $f2 is NOT equals to the value in $f4, then it should be

Other Questions
Solve for 1. Enter the solutions from least to greates (x + 3)2 - 4= 0 lesser ,greater $1000 is invested at 2.9% annual interest for 6 months.a. Simple Interest b. Compound Interest Help me please :)Answer choices:1-Valine and aspartic acid2-Serine and glutamic acid3-Isoleucine and histidine4-Methionine and glutamine My father sat in his recliner, across the living room from the piano , his hands folded on his lap or holding a beer stein filled with lemonade he closed his eyes and went to a far off place A.the word choice helps to create a cheery and friendly perspective of the narrators father B. the word choice helps to create a somber and gloomy perspective of the narrators father C.the word choice helps to create a peaceful and relaxed perspective of the narrators father D.the word choice helps to create a hopeless and mournful perspective of the narrators father Put the following events in chronological order.Roaring 20s, Russian Revolution, World War IWorld War I, Great Depression, Roaring 20sWorld War I, Roaring 20s, Great DepressionGreat Depression, World War I, Russian Revolution que es el mercantilismo? que medidas se tomaron durante el mercantilismo? Describe the effects lenses have on light and their possible technological applications. The following are the last 10 run scores Colin got in cricket: 18, 9, 7, 35, 30, 21, 33, 12, 30, 31 a) Work out Colin's mean score. b) Colin plays cricket again on Sunday. He gets 27 runs. What is his new mean score? Give your answers as decimals. Consider the following system of equations.3x + 5y = 186x 5y = 20Decide which procedures eliminate the x variable and which eliminate the y variable. Drag and drop each procedure that will eliminate one of the variables into the appropriate category.Subtract the second equation from the first equation. Add the first and second equations. Multiply the first equation by 2; then add the two equations. Divide the second equation by 2; then add the two equations. Subtract the first equation from the second equation. Multiply the first equation by 2 then add the two equations. Eliminate x Eliminate y find the circumference of the pizza use 3.14 the pizza is 7 inches Find the product of 0.25 x 16 Increasing the frequency of an exercise means a. Do more sets B. Do more reps C. Do it more often D. Add external weight Question 12 (2 points) SavedOrganisms in an ecosystem can be classified as producers or consumers. Theproducers provide food for the consumers. An organism that consumes bothproducers and other consumers is called a ...OmnivoreDecomposerCarnivoreHerbivore Brian opened a bank account that compounded continuously. The amount, y, in Brian's account can be modeled by this equation.y=nektWhere n is the initial amount deposited,t is the time in years, andk is the growth constant.Brian deposited $500 initially and did not make any more deposits or withdrawals. After 8 years, Brian's account has a balance of $625.What is the value of k?O A k =In(.8)8O c. k=In(500)5000O B. k=In(625)4000O D. k=In(1.25)8 Which 3 diseases are treated with medicine ?[A] Bacteria[B] Viruses[C] Parasites[D] Fungi A bullet from a policeman's handgun travels at 200 meters per second and has a mass of 0.02 kg.What is the bullet's kinetic energy? 500(x 3) = 5,000Whats the value of x? Balance the equation K2SO4 + SrL2 = How many solutions dose x+y=10 x+y=12 describe two effects of weathering on a cliff