case study on leading entrepreneur of goa

Answers

Answer 1

Answer:

goa is in india

Explanation:


Related Questions

Identify a true statement of array.find(callback [, thisArg]) method.

A. It tests whether the condition returned by the callback function holds for all items in array.
B. It returns the value of the first element in the array that passes a test in the callback function.
C. It tests whether the condition returned by the callback function holds for at least one item in array.
D. It returns the index of the first element in the array that passes a test in the callback function.

Answers

Option c is correct. It tests whether the condition returned by the callback function holds for at least one item in array.

Every element in the array is put through the supplied test by the provided function using the every() method. It gives back a Boolean result. Until it locates the element for which callback function returns a false result, the every method calls the given callback function once for each element present in the array.

The every method immediately returns false if such an element is discovered. Every returns true if callback function does not return a truthy value for any of the items.

Only for array indexes with assigned values is callbackFn triggered. For empty slots in sparse arrays, it is not called.

The value of the element, the index of the element, and the Array object being traversed are passed as the three arguments to callbackFn.

To know more about callback function click on the link:

https://brainly.com/question/27961465

#SPJ4

Searching an Array for an Exact Match

Summary
In this lab, you use what you have learned about searching an array to find an exact match to complete a partially prewritten C++ program. The program uses an array that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the array for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan.

The file provided for this lab includes the input statements and the necessary variable declarations. You need to use a loop to examine all the items in the array and test for a match. You also need to set a flag if there is a match and then test the flag variable to determine if you should print the the Not a city in Michigan. message. Comments in the code tell you where to write your statements. You can use the previous Mail Order program as a guide.

Instructions
Ensure the provided code file named MichiganCities.cpp is open.
Study the prewritten code to make sure you understand it.
Write a loop statement that examines the names of cities stored in the array.
Write code that tests for a match.
Write code that, when appropriate, prints the message Not a city in Michigan..
Execute the program by clicking the Run button at the bottom of the screen. Use the following as input:
Chicago
Brooklyn
Watervliet
Acme

CODE:
// MichiganCities.cpp - This program prints a message for invalid cities in Michigan.
// Input: Interactive
// Output: Error message or nothing

#include
#include
using namespace std;

int main()
{
// Declare variables
string inCity; // name of city to look up in array
const int NUM_CITIES = 10;
// Initialized array of cities
string citiesInMichigan[] = {"Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"};
bool foundIt = false; // Flag variable
int x; // Loop control variable

// Get user input
cout << "Enter name of city: ";
cin >> inCity;

// Write your loop here

// Write your test statement here to see if there is
// a match. Set the flag to true if city is found.




// Test to see if city was not found to determine if
// "Not a city in Michigan" message should be printed.


return 0;

} // End of main()

Answers

The program statements that complete the program are

for(x =0 ; x < NUM_CITIES; x++){

   if (citiesInMichigan[x] == inCity){

       foundIt = true;

   }

}

if(foundIt == false){

   cout<<"Not a city in Michigan";

}

How to complete the C++ program

The complete program in C++ language is as follows:

Note that the comments are used to explain each action

#include<iostream>

#include<string>

using namespace std;

int main(){

// Declare variables

string inCity; // name of city to look up in array

const int NUM_CITIES = 10;

// Initialized array of cities

string citiesInMichigan[] = {"Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"};

bool foundIt = false; // Flag variable

int x; // Loop control variable

// Get user input

cout << "Enter name of city: ";

cin >> inCity;

// Write your loop here

for(x =0 ; x < NUM_CITIES; x++){

   // Write your test statement here to see if there is

   // a match. Set the flag to true if city is found.

   if (citiesInMichigan[x] == inCity){

       foundIt = true;

   }

}

// Test to see if city was not found to determine if

// "Not a city in Michigan" message should be printed.

if(foundIt == false){

   cout<<"Not a city in Michigan";

}

return 0;

} // End of main()

Read more about programs at

https://brainly.com/question/26497128

#SPJ1

Jeremiah is interested in becoming a certified nursing assistant. Which educational path is probably the BEST fit for this goal?

A.
university

B.
college

C.
vocational school

D.
entrepreneur academy

Answers

Answer:

Explanation: WE can do it justin university

In what setting should a bidirectional microphone be used and why?

Answers

Bidirectional microphones have a very constricted pickup angle, making them useful for separating a single voice or mechanism in the presence of other sound sources, as lengthy as nothing is directly behind the mic. They are useful for picking up two sources that are next to each other.

What is bidirectional microphone?

The pressure gradient principle underpins this type of microphone. The sound can travel through the membrane on both sides.

When the sound on the front and backside of the diaphragm differs, the microphone sends a signal.

Bidirectional microphones have a particularly narrow pickup angle, which makes them advantageous for distinguishing a single voice or framework in the involvement of other sound sources, as long as nothing is directly behind the mic.

They are useful for detecting two sources that are close together.

Thus, in this setting a bidirectional microphone can be used.

For more details regarding bidirectional microphone, visit:

https://brainly.com/question/14360530

#SPJ1

can help me biii and d? also help me check my answer is correct or not if wrong please help me correct it thanks​

Answers

Answer:

b(ii) prices[1]= 20.50;  // do not declare with double again

b (iii) scanf("%lf", &prices[4]);  //prices[4] is last element

d) See below

Explanation:

/* This program uses the string.h header file

The strncat() function in this file concatenates two strings. It takes three arguments, dest and source strings and number of characters to concatenate

*/

#include <stdio.h>
#include <string.h>

int main() {
char s1[10] = "Happy";
char s2[10] = " Birthday";
char s3[10]="";

strncat(s3, s1, 5);  //concatenate 5 characters of s1 to end of s3 and                            
                                    //store result in s3; s = "Happy"
strncat(s3, s2, 10); //concatenate s2 with current contents of s3
                                      //s3 becomes "Happy Birthday
printf("%s", s3);

return 0;

}

Which of the following is an example of how agriculture uses computer programming? (5 points)

Create drones
Initiate patient portals
Track and plan growth
Use special effects

Answers

Answer:

create drones is an example of how agriculture uses computer programming

Which of the following methods includes or embeds a new node directly ahead of a child node?

a. node.appendChild(new)
b. node.replaceChild(new, old)
c. node.insertBefore(new, child)
d. node.insert(new, old)

Answers

Option c is correct. Node.insertBefore(new, child) is the method that includes or embeds a new node directly ahead of a child node.

The Node interface's insertBefore() method places a node as a child of a given parent node ahead of a reference node.

InsertBefore() transfers the specified node to the new place if it already exists in the document. (That is, before adding it to the given new parent, it will automatically remove it from its current parent.)

As a result, a node cannot be present in two places in the document at once. The full contents of the DocumentFragment are moved into the child list of the chosen parent node if the given child is a DocumentFragment. the node that newNode is added before. In the event that this is null, newNode is appended to the end of the node's child nodes.

To know more about node click on the link:

https://brainly.com/question/28485562

#SPJ4

(while-loop). Generate a random integer from 1 to 100. Prompt the user to guess the number. Display "Too high" or "Too low", depending on the guess. When the user guesses the right number, display "You got it!". You must keep track of the number of times the user takes to guess the number and report it when the number is correct.
Hints: To generate the random number, use the one below:

import random as rd
answer = rd.randrange(1,101)

TEST CASES: Suppose the number to guess is 40.

Enter guess: 1-100: 50
Too high!

Enter guess: 1-100: 25
Too low!

Enter guess: 1-100: 35
Too low!

Enter guess: 1-100: 40
You got it!

You took 4 tries to guess the number.

Investment Problem: Multiplier Accumulator
Prompt the user to enter the initial investment amount, the annual interest, and the number of years for the investment.
Compute the balance that will be achieved at the end of each of the requested years. Round the balance to 2 decimal places.
Algorithm Hints:

Use a for-loop and range function to generate the year (1, 2, 3,…). The number of iterations is the number of years.
Using the formula (see below), compute the investment balance at the end of each year. Note that I know you could always use Python's exponentiation operator (**) to calculate the final result. But I want you to use iteration (looping) to find the answer! Hint: this is an example of an accumulator that uses multiplication.
For example, if you have $1 and get 4% interest, the amount at the end of the first five years would be:
FV = FV*(1 + APR)**year = 1 * (1 + 0.04) ** 1

FV = FV*(1 + APR)**year = 1 * (1 + 0.04) ** 2

FV = FV*(1 + APR)**year = 1 * (1 + 0.04) ** 3

FV = FV*(1 + APR)**year = 1 * (1 + 0.04) ** 4

FV = FV*(1 + APR)**year = 1 * (1 + 0.04) ** 5

etc.....

If you have an amount that is different than $1 (e.g., $10,000), multiplying $10,000 by the final FV quantity for each year will give you the future value for $10000.

Suggestion: to check your answer, use the exponentiation operator, calculate the result using the above formula, and compare that result with the one using your accumulator approach. The answers should be very close.
Also, you know that \n inside quotes generates a new line. Similarly, \t generates a tab stop, which you can use to generate the two columns in the output.
TEST CASE:

Enter initial investment: $5000

Enter interest rate: 2.5

Enter number of years: 29

Year Balance

1 $5125.0
2 $5253.12
3 $5384.45
4 $5519.06
5 $5657.04
6 $5798.47
7 $5943.43
8 $6092.01
9 $6244.31
10 $6400.42
11 $6560.43
12 $6724.44
13 $6892.56
14 $7064.87
15 $7241.49
16 $7422.53
17 $7608.09
18 $7798.29
19 $7993.25
20 $8193.08
21 $8397.91
22 $8607.86
23 $8823.05
24 $9043.63
25 $9269.72
26 $9501.46
27 $9739.0
28 $9982.48
29 $10232.04

Answers

Using the knowledge of computational language in JAVA it is possible to describe Generate a random integer from 1 to 100, Prompt the user to guess the number and  Display "Too high" or "Too low".

Writting the code:

import java.util.Random;

import java.util.Scanner;

 

public class GFG {

   public static void main(String[] args)

   {

 

       // stores actual and guess number

       int answer, guess;

 

         // maximum value is 100

       final int MAX = 100;

 

       // takes input using scanner

       Scanner in = new Scanner(System.in);

 

       // Random instance

       Random rand = new Random();

 

       boolean correct = false;

 

       // correct answer

       answer = rand.nextInt(MAX) + 1;

 

       // loop until the guess is correct

       while (!correct) {

 

           System.out.println(

               "Guess a number between 1 and 100: ");

 

           // guess value

           guess = in.nextInt();

 

           // if guess is greater than actual

           if (guess > answer) {

               System.out.println("Too high, try again");

           }

 

           // if guess is less than actual

           else if (guess < answer) {

               System.out.println("Too low, try again");

           }

 

           // guess is equal to actual value

           else {

 

               System.out.println(

                   "Yes, you guessed the number.");

 

               correct = true;

           }

       }

       System.exit(0);

   }

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

Consider two packet switches directly connected by a link of 5000 km,
propagation speed 2.5 X10^8 m/s and transmission rate 1 Mbps. How long does it take to move
a packet of length 1,000 bytes from one packet switch to the other packet switch? Generally,
how long does it take to move a packet of length L over a link of distance d, propagation speed
s, and transmission rate R bps?

Answers

The time that is required for the packet to move over the the distance d at the speed s is  0.028 seconds.

The speed that It would take to move it in transmission is given as 0.008 seconds.

How to solve for the required time

The details that we would have to solve the problem that we have here are given below

The distance = 5000 km, we convert to meters = 5000 * 1000

The speed of the propagation is given as (s) 2.5 x 108 m/s

The propagation delay is given as d / s

= 5000000 / 2.5 x 10^8

= 0.02 this is the value of the propagation

Next we have to find the length of the packet. L = 1000 bytes

this is equal to 8000 bits

The transmission rate is 1 Mbps = 1000000 bits

The transmission delay would be = L/R

= 8000 / 1000000

= 8 / 1000

= 0.008 seconds in transmission

The total required time that is to be gotten would be

Propagation + transmission

= 0.02 + 0.008

= 0.028

Read more on transmission rate here:

https://brainly.com/question/13013855

#SPJ1

Briefly explain the benefits of making a time management plan as a student or professional.
Describe at least three planning tools that will help you manage your time effectively.

Answers

Answer:

As a student I answered for students benefits only

Explanation:

I am explaining into list form so that everyone can understand it easily.

Benefits:

You get more done in less time.

By sticking to this time plan, you have a better chance of tackling the task than getting to it with no predefined time allocated to it.

Reduces stress.

Proper time management enables you to prioritize tasks and tackle them first.

It helps you achieve your goals faster.

Instead of getting caught up in multitasking, you focus on one activity at a time for a specified duration.

It boosts your confidence.

Managing your time well allows you to get your work done on time. This elicits a sense of confidence and accomplishment in your capabilities. Getting through a long to-do list can also evoke these feelings.

I need this fast pls
How many clock ticks would a computer with one million hertz have?

a - 1,000,000 per minute


b - 1,000,000 per second


c - 1,000,000 per hour


d - 1,000,000 per hour

Answers

Answer: Its B. 1,000,000 per second

Explanation: One hertz is one tick per second. A computer with a one million hertz processer would have 1,000,000 ticks per second.

In 3-5 sentences, describe one disadvantage each for list, array, and queue data structures

Answers

One disadvantage each for list, array, and queue data structures are:

The list is constrained in that additions can only be made at the end.Because array items are kept in contiguous memory, insertion and deletion operations are expensive.Limited Room.

What are the disadvantages of simple queue in data structure?

It is difficult to quickly search the queue. You must begin at the very end and might need to keep another queue. Don't even consider utilizing a queue if you have data that you want to make searchable in the future. It is difficult to add or remove items from the queue's middle.

Note that An array doesn't verify its borders: In the C programming language, we are unable to determine whether the values placed in an array exceed its size or not.

Learn more about queue data structures from

https://brainly.com/question/15397013
#SPJ1

The given program reads a list of single-word first names and ages (ending with -1), and outputs that list with the age incremented. The program fails and throws an exception if the second input on a line is a string rather than an integer. At FIXME in the code, add try and except blocks to catch the ValueError exception and output 0 for the age.

Ex: If the input is:

Lee 18
Lua 21
Mary Beth 19
Stu 33
-1
then the output is:

Lee 19
Lua 22
Mary 0
Stu 34


# Split input into 2 parts: name and age
parts = input().split()
name = parts[0]
while name != '-1':
# FIXME: The following line will throw ValueError exception.
# Insert try/except blocks to catch the exception.
age = int(parts[1]) + 1
print('{} {}'.format(name, age))

# Get next line
parts = input().split()
name = parts[0]

Answers

The statements that catch the exception in the program are:

      age = int(parts[1]) + 1

      print('{} {}'.format(name, age))

      # Get next line

      parts = input ( ) . split ( )

      name = parts[0]

  except ValueError:

      print ( ' Invalid value ! ' )

      # Get next line

      parts = input().split()

      name = parts [ 0 ]

Complete Program

# Split input into 2 parts: name and age

parts = input().split()

name = parts[0]

while name != '-1':

  # FIXME: The following line will throw ValueError exception.

  # Insert try/except blocks to catch the exception.

  try:

      age = int ( parts [ 1 ] )  + 1

      print( ' { } { } ' . format ( name, age ) )

      # Get next line

     parts = input( ) . split ( )

      name = parts[0]

  except ValueError:

      print ( ' Invalid value ! ' )

      # Get next line

      parts = input ( ) . split ( )

      name = parts[0]

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Make a program that, given a square matrix, identify the largest number and what position it has, indicate how many even and odd numbers it has. With functions in pseint.

Answers

A program that, given a square matrix, identifies the largest number and what position it has, and indicates how many even and odd numbers it has, is given below:

The Program in C++

// C++ implementation to arrange

// odd and even numbers

#include <bits/stdc++.h>

using namespace std;

// function to arrange odd and even numbers

void arrangeOddAndEven(int arr[], int n)

{

  int oddInd = 1;

   int evenInd = 0;

   while (true)

   {

       while (evenInd < n && arr[evenInd] % 2 == 0)

           evenInd += 2;

           

       while (oddInd < n && arr[oddInd] % 2 == 1)

           oddInd += 2;

           

      if (evenInd < n && oddInd < n)

           swap (arr[evenInd], arr[oddInd]);

           

       else

           break;

   }

}

// function to print the array

void printArray(int arr[], int n)

{

   for (int i = 0; i < n; i++)

       cout << arr[i] << " ";

}

// Driver program to test above

int main()

{

   int arr[] = { 3, 6, 12, 1, 5, 8 };

   int n = sizeof(arr) / sizeof(arr[0]);

   cout << "Original Array: ";

  printArray(arr, n);

   arrangeOddAndEven(arr, n);

   cout << "\nModified Array: ";

   printArray(arr, n);

   return 0;

}

Output

Original Array: 3 6 12 1 5 8

Modified Array: 6 3 12 1 8 5

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Type the correct answer in the box. Spell all words correctly. What method is Dana using? Dana is working on a software development project. As a team leader she sets up time -bound targets for each of the members in her cross-functional team to improve collaboration. She is using the _ method of project development

Answers

Since Dana is using a cross-functional team to improve collaboration. She is using the Agile method of project development.

What is agile method of development?

Agile is one that lets teams offer value to their clients more quickly and with fewer difficulties through an iterative approach to project management and software development.

Note that an agile team produces work in manageable, small-scale increments rather than staking all on a "big bang" launch.

Since the Agile technique divides a project into many parts and uses these phases to manage the project. Continuous improvement at every stage and ongoing collaboration with stakeholders are required. Teams cycle through a process of planning, carrying out, as well as assessing once the job starts.

Learn more about Agile from

https://brainly.com/question/14524978
#SPJ1

Write a Python program that asks the user to enter students’ grades. The program should
keep accepting grades and stops once a negative value is entered. Finally, the program prints
the number of grades entered, summation and average of all grades.

Answers

hey bro can u make me brainliest

grades = []
print('Please enter a grade (negative value to end):')
grade = float(input())
while grade >= 0:
grades.append(grade)
print('Please enter a grade (negative value to end):')
grade = float(input())
print('\n')
print('You have entered ' + str(len(grades)) + ' grades.')
print('The sum is ' + str(sum(grades)) + '.')
print('The average is ' + str(sum(grades) / len(grades)) + '.')

Which of the following BEST describes what a kilobyte is a measurement of?
CPU speed
Power level
Back
Data throughput
Storage space

Answers

Answer:

Storage space

Explanation:

Tom is interested in becoming a dental hygienist. When he goes to the dentist for his regular checkup, he asks the hygienist there if she would be willing to talk to him about what her job is like. What is this talk called?

A.
jobs outlook

B.
informational interview

C.
data session

D.
counseling appointment

Answers

Since Tom is interested in becoming a dental hygienist and he asks the hygienist there if she would be willing to talk to him about what her job is like, this talk is called  D. counseling appointment.

What is the purpose of career counseling?

In order to make decisions about your job, education, and overall well-being, career counseling is a process that will help you get to know and understand yourself as well as the working environment.

Note that Choosing a major and determining what profession you want to acquire after graduation are only two aspects of career development.

A career counselor will assist a client in exploring abilities and strengths, taking into account education levels and others.

Learn more about counseling appointment from

https://brainly.com/question/28214390

#SPJ1

Define a function CheckVals() with no parameters that reads integers from input until integer 0 is read. The function returns true if all of the integers read before 0 are in the range -10000 to -9000 inclusive, otherwise, returns false.


Ex: If the input is -9500 -8975 0, then the output is:


Invalid value(s)

#include
using namespace std;

bool CheckVals() {

bool zero = true;

Answers

In this exercise we have to use the knowledge of C++ to write a program that is possible Define a function with no parameters that reads integers from input until integer 0 is read.

Writting the code:

#include <iostream>

using namespace std;

bool

{

   int num;

   bool =true;

   do

   {

       cin>>num;

       if(num>=0 && num!=1)

           =false;

   }while(num!=1);

   return;

}

int main()

{

   bool allNegative;

   allNegative=

   if(allNegative==true)

       cout<<"All match";

   else

       cout<<"All not match";

   return 0;

}

See more about C++ at brainly.com/question/19705654

#SPJ1

define as stored program digital computing system​

Answers

Answer:

stored-program computer is a computer that stores program instructions in electronically or optically accessible memory.


What would the code be for this?

Answers

Answer:

c = 'z'

while c >= 'a':

 print(c)

 c = c h r(ord(c)-5)

Explanation:

Keep in mind, you could have also chosen to do:

print("z\nu\np\nk\nf\na\n")

but it seems the character arithmetic is what is asked for...



2. What does the unsigned decimal value of 99 as sum of powers of 2

Answers

Answer:

(99)₁₀  = (1100011)₂

Explanation:

I believe the question is asking you to convert 99 in base 10 to binary

If so, the above would be the answer easily computed using a programming calculator

If I have mis-interpreted your question, my apologies and you can report this answer

Drag each tile to the correct box.
Mike is writing an essay using Microsoft Word on a Windows computer. Match each keyboard shortcut that he can use with its purpose.
Ctrl + X
F1
Purpose
pastes text saved in memory
runs the spelling and grammar check
opens the Help menu
cuts selected text
Ctrl + V
F7
Keyboard Shortcut

Answers

The correct matching of the tiles to their correct boxes is given below:

Ctrl + X

cuts selected text

runs the spelling and grammar check

F7

opens the Help menu

F1

Ctrl + V

pastes text saved in memory

What is Word Processing?

This refers to the device or program that is used to input data or information, make edits, process and format them, and then provide output to the finished product.

Hence, we can see that from the given question, it is clearly stated that Mike is writing an essay using Microsoft Word on a Windows computer and he needs to use the keyboard shortcuts.

With this in mind, the word processor he is using is known as MS Word or Microsoft Word and it has some keyboard shortcuts that can help Mike write, edit and format his essay so it would be in the right and proper way for him to output.

Read more about word processing here:

https://brainly.com/question/1596648

#SPJ1

Choose the term that makes the sentence true.

is the most popular desktop operating system.

Answers

Microsoft's Windows is the most popular desktop operating system and as such is the true statement.

Check more about Microsoft  windows below.

What is the most popular PC operating system?

Windows from Microsoft is seen as the Computer operating systems' global market share from 2012 through 2022, broken down by month.

Note that the desktop, tablet, as well as console OS markets are all dominated by Microsoft's Windows, which has a 70.68 percent market share worldwide.

Therefore, The most widely used desktop and laptop operating system is Windows 10. The most widely used PC operating system is Windows. An operating system is a piece of software that runs on a computer and controls how software programs and computer resources are used.

Learn more about Microsoft's Windows from

https://brainly.com/question/28132832
#SPJ1

need help array question ​

Answers

A C program segment for prompting a user to enter an integer and save it in an option variable is given below:

The Program

#include <stdio.h>

#include <ctype.h>

int main(void)

{

   char ch;

   float num1,num2,answer;

   printf("Enter the operation of your choice:\n");

   printf("a. add     s. subtract\n");

   printf("m. multiply q. divide\n");

   printf("q. quit\n");

   while ((ch = getchar())!='q')

   {

       ch=tolower(ch);

       //Ignore whitespace

       if (ch=='\n')

           continue;

       else

       {

           switch(ch)

           {

               //Addition part

               case 'a':

                   //First number

                   printf("Enter first number: ");

                   //Check to see if input is a number

               while (scanf("%f",&num1)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               //Second number

              printf("Enter second number: ");

               while (scanf("%f",&num2)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               //Do math for respective operation

              answer = num1 + num2;

               //Print out result

               printf("%.3f + %.3f = %.3f\n", num1,num2,answer);

               break;

           //Subtraction part

           case 's':

              printf("Enter first number: ");

               while (scanf("%f",&num1)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               printf("Enter second number: ");

               while (scanf("%f",&num2)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               answer = num1 - num2;

               printf("%.3f - %.3f = %.3f\n", num1,num2,answer);

               break;

           //Multiplication part

           case 'm':

               printf("Enter first number: ");

               while (scanf("%f",&num1)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               printf("Enter second number: ");

               while (scanf("%f",&num2)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               answer = num1 * num2;

               printf("%.3f * %.3f = %.3f\n", num1,num2,answer);

               break;

           //Division part

           case 'd':

               printf("Enter first number: ");

               while (scanf("%f",&num1)==0)

               {

                  printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

               printf("Enter second number: ");

               while (scanf("%f",&num2)==0)

               {

                   printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                   scanf("%*s");

               }

              //Check for if number is a zero

               while (num2==0)

               {

                   printf("Please enter a non-zero number, such as 2.5, -1.78E8, or 3: ");

                   while (scanf("%f",&num2)==0)

                   {

                       printf("Invalid input. Please enter a number, such as 2.5, -1.78E8, or 3: ");

                       scanf("%*s");

                   }

               }

               answer = num1 / num2;

               printf("%.3f / %.3f = %.3f\n", num1,num2,answer);

               break;

           //For if a non-valid operation is entered

           default:

               printf("That is not a valid operation.\n");

               break;

       }

   }

  printf("Enter the operation of your choice:\n");

   printf("a. add      s. subtract\n");

   printf("m. multiply q. divide\n");

   printf("q. quit\n");

}

printf("Bye.\n");

return 0;

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Write a program that reads integers from the user and stores them in a list. Use 0 as a sentinel value to mark the end of the input.

Answers

num = int(input("User Input: "))

mylist = []

while(num !=0):

   mylist.append(num)

   num = int(input("User Input: "))

mylist.reverse()

for i in mylist:

   print(i,end = ' ')

What is a program?

A program is a set of instructions that a computer follows to complete a specific task.

This question is answered in Python, and it employs 0 as a sentinel value, which means that the program stops prompting the user for input when the user enters 0.

This line requests input from the user

num = int(input("User Input: "))

This line declares a list that is empty

mylist = []

This loop is repeated as long as user enters input other than 0

while(num !=0):

This appends user input to the list

   mylist.append(num)

This prompts user for another input

   num = int(input("User Input: "))

This reverses the list

mylist.reverse()

The following iteration the list in reverse order

for i in mylist:

   print(i,end = ' ')

To learn more about program

https://brainly.com/question/23275071

#SPJ9

Kyla has composed a draft of her term paper using Microsoft Word. She now wants to revise the paper. Which tool can she use to store the
document with a different name and makes changes in the new document?
O A. Download
OB. Save As
O C. Save
OD. Export

Answers

A tool which Kyla can use to store the document with a different name and makes changes in the new document is: B. Save As.

What is a document?

A document simply refers to a computer resource that is designed and developed to enable end users to easily store data as a single unit on a computer storage device.

Generally speaking, all computer documents can be identified by a title (name), date modified, size, and type such as the following;

SystemTextAudioImageVideoWhat is the Save as command?

A Save as command can be defined as a type of command associated with the file menu of a software application or document and it causes a copy of the current file to be created and stored to a different location, file name, and/or file type.

In this context, we can reasonably infer and logically deduce that Kyla  should save the document by using the "Save as" command.

Read more on Save as command here: https://brainly.com/question/16852455

#SPJ1

which cyber protection condition establishes a protection priority focus

Answers

I don’t even know tbh


INFOCON 1 is the prerequisite for cyber defence that creates a protection priority focus on just crucial and essential functions.

What is INFOCON 1?

Information operations condition, or INFOCON 1, is a circumstance where an information system has been successfully attacked and the effects on Department of Defense  missions are clear, yet the computer network's defence system is on high alert.

INFOCON 1 basically assures that a computer network security system is as aware or ready as possible to deal with intrusion approaches that cannot be detected or countered at a lower readiness level.

In conclusion, INFOCON 1 is a need for cyber protection that places a priority on protecting only vital and necessary functions.

Thus, INFOCON 1 is the prerequisite for cyber defence.

For more information about INFOCON 1, click here:

https://brainly.com/question/25157787

#SPJ12

Need help with this coding question. It must be done in python and must use a while loop structure.

Answers

Answer:

I'm generally puzzled

Explanation:

Which of the following is a programming language that is interpreted? (5 points)

Assembly
Java
Machine
Python

Answers

Answer: python


i just did a test on this

Other Questions
the total cost of renting a car is $35 for each day the car is rented plus 42.5 cents for each mile the car is driven what is the total cost of renting the car for 6 days and driving 350 miles This passage is part of a report of a scienceexperiment.The solution contains water and the unknownsecond substance. The solution was heatedgradually, and it began boiling at 80C. Thegas rose through a glass tube that led to acold flask. A clear, colorless liquid formed inthe flask.What was the purpose of boiling the solution?Select the words from the drop-down menusto correctly complete the explanation.The solution was boiled to Choose.. thesolution. Because water Choose.. boil at80C, the clear, colorless liquid that formed inthe flask must have beenChoose... The area of a rectangular painting is 1/6 square yard. The width is 2/3 yard. What is the length of the painting use the formula A=e x w Here are two expressions whose sum is a new expression, A. (2x+5)+(6x0-7)=ASelect all the values that we can put in the box so that A is a polynomial. answer the 2 questions in the photo for a brainliest You have $28 to go bowling. It costs $3.00 to rent a pair of bowling shoes and $3.25 pergame. At most, how many games will you be able to bowl? Read the excerpt from "Prometheus Unbound" byPercy Bysshe Shelley.SCENE A Ravine of Icy Rocks in the IndianCaucasus. Prometheus is discovered bound to thePrecipice.* Panthea and lone are seated at his feet.Time, night. During the Scene, morning slowly breaksPrometheus.Monarch of Gods and Dmons, and all SpiritsBut One, who throng those bright and rolling worldsWhich Thou and I alone of living thingsBehold with sleepless eyes! regard this EarthMade multitudinous with thy slaves, whom thouRequitest for knee-worship, prayer, and praiseAnd toil, and hecatombs of broken hearts,With fear and self-contempt and barren hope. **"very steep rock face or cliff*Jupiter has chained Prometheus to the face of a**What do Shelley's and Peabody's passages have incommon?O Prometheus welcomes more unbearable torturePrometheus finds comfort in his difficult situation.Prometheus has company while he is chained up.Prometheus fights back against his enemy. How does an illusion of control contribute to perceiving an illusory correlation? a turbine is supplied with 0 6 m3 s of water from a 0.3 m diameter pipe; the discharge pipe has a 0.4 m diameter. determine the pressure drop across the turbine if it delivers 60 kw Select the correct text in the passage.Read The Railway Train by Emily Dickinson. Which line contains consonance?I like to see it lap the miles,And lick the valleys up,And stop to feed itself at tanks;And then, prodigious, stepAround a pile of mountains,And, supercilious, peerIn shanties by the sides of roads;And then a quarry pareTo fit its sides, and crawl between,Complaining all the whileIn horrid, hooting stanza;Then chase itself down hillAnd neigh like Boanerges;Then, punctual as a star,Stopdocile and omnipotentAt its own stable door. The atomic theory describes _____ because ____, ___ and ____Atomic theory shows a ____, because ___,___,___ 1 .8 A capillary tube is immersed vertically in a water container. Knowing that water (3) starts to evaporate when the pressure drops below 2 kPa, determine the maximum capillary rise and tube diameter for this maximum-rise case. Take the contact angle at the inner wall of the tube to be 6 0 and the surface tension to be 1.00 N/m Identity/Identification refers to the way we mold who we are byA. imitating those around us as we grow upB. detaching ourselves from our surroundingsC. reading psychologyD. deciphering symbols orJacob and Diego are racing to see who can get his community service hours for scouting completed first. Jacob, who has already completed 50 hours, plans to volunteer for 5 hours per week going forward. Diego hasn't started yet, but plans to dedicate 6 hours per week to his volunteer project from now on. Before too long, the boys will be tied, with the same number of volunteer hours. How long will that take? QuestionFind the equation of the line with slope m = - 1/3 and passing through the point (1, 1/3) (Write the equation in standard form.)answer has to be in the form ax+by=c Read the scenario.$40$ POINTS!! + PREMIUM BRAINLIESTAnya and Daniel have been going to the same community church since kindergarten. They are now in middle school. A new Hindu temple is built nearby. Anyas family decides to transfer to the temple. Which concept does this scenario best demonstrate?the right to choose which religion to practicethe right of assembly, which includes places of worshipthe right to practice free speech and express an opinionthe right to petition the government to request a change How do you write a story where the antagonist is a popular girl who is actually a ghost who was killed in the school and came back as a serial killer killing kids just like the kids that are like her, and the girl gets partnered up with the protagonist whos your typically nerdy girl and they have to make a film like history documentary about the schools history, and they film all the memorable places where kids went missing, but that memorable places are actually where all the missing kids were killed by the antagonist and the antagonist knows a little too much about all the history. The protagonist keeps finding memory card at the memorable places and at the end of the story she decides to play all the memory cards together and finds out that its other kids filming the schools history at every place they went but with the antagonist and then you saw their dead body, so the protagonist is disgusted and doesnt know what to do but shes gonna obviously show someone this but before she does she gets killed by the antagonist and the antagonist goes to class and does the history project. How would you trick the reader? And drop hints that the antagonist is a serial killer ghost? And for the ending how do you trick the audience into thinking the reader doesnt die but actually is? I am so sorry, its a very specifically long question!! who is main character in how to ignore a house on fire? Denver,Colorado often experiences snowstorms resulting in multiple inches of accumulated snow. During the last snow storm, the snow accumulated at 4/5 inch/hour. If the snow continues at this rate for 10 hours, how much snow will accumulate? What makes this ship so special (according to Holmes)?Excerpt: Old Ironsidesby Oliver Wendell HolmesAy, tear her tattered ensign1 down! Long has it waved on high,And many an eye has danced to see That banner in the sky;Beneath it rung the battle shout, And burst the cannon's roar; The meteor of the ocean air Shall sweep the clouds no more!Her deck, once red with heroes' blood, Where knelt the vanquished foe,When winds were hurrying o'er the flood And waves were white below,No more shall feel the victor's tread, Or know the conquered knee;The harpies2 of the shore shall pluck The eagle of the sea!