1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kumpel [21]
3 years ago
13

JAVA

Computers and Technology
1 answer:
Leokris [45]3 years ago
8 0

Answer:

Answer provided in screenshot, not really too happy with my implementation but it works.

Explanation:

Iterate through months, handling logic for every 12 months to get the raise.

You might be interested in
The Fourth Amendment does not allow police to randomly test people for drunk driving. True or False
pogonyaev

Answer:

False

Explanation:

6 0
3 years ago
When adopting and implementing a Software as a Service (SaaS) platform such as Salesforce for your business, which responsibilit
Greeley [361]

Answer:

Software as a service (SaaS) platform would give the client company the responsibility of offering applications over the internet, develop, host, and update the product.

Explanation:

Salesforce is an example of Software as a service (SaaS), offering applications for businesses over the internet.

Software as a Service (SaaS) uses the cloud to host web-based apps and make them available to users over the internet, eliminating the need for users to install and maintain application software. Users only access this service with an internet connection and a web browser.

8 0
3 years ago
Task:create a struct that looks like:typedef struct person{ int age; double height;} Person;Create an array of Persons. Read dat
Amiraneli [1.4K]

Answer:

Check the explanation

Explanation:

person.c

#include <stdio.h>

#include <stdlib.h>

typedef struct person

{

  int age;

  double height;

}Person;

void getAverage(Person persons[], int max)

{

  int i, totAge=0;

  double avgAge = 0.0, avgHeight = 0.0, ratio=0.0, totHeight = 0;

  //calculate the Of age, height and the ratio Of to height(age/height):

  for(i=0;i<max;i++)

  {

      totAge = totAge + persons[i].age;

      totHeight = totHeight + persons[i].height;

  }

  //calculate the average

  avgAge = totAge/max;

  avgHeight = totHeight / max;

  ratio = avgAge / avgHeight;

  //output the results

  printf("\nthe average of age is: %lf", avgAge);

  printf("\nthe average of height is: %lf", avgHeight);

  printf("\nthe average ratio of age to height is: %lf", ratio);  

}

int main()

{

  //variables declaration

  int id=0;

  Person p[10];

  //read data from keyboard, which are the age and the height of person

  while(1)

  {

      printf("\nid: %d", id + 1);

      printf("\nplease enter the age: ");

      scanf("%d", &p[id].age);

      if(p[id].age < 0)

          break;

      printf("please enter the height: ");

      scanf("%lf", &p[id].height);

      id++;

  }      

  //call getAverage function

  getAverage(p, id);  

  return 0;

}

Kindly check the Screenshot and Output in the attached images below:

6 0
4 years ago
Your computer monitor’s power switch is in the ‘ON’ position; however, the display is blank. Which of the following is NOT a lik
Yuri [45]
Answer : Monitor may be in sleep/hibernate mode.
7 0
3 years ago
Why are computer manufacture constantly releases fast computer and do user benefit from ths speed
creativ13 [48]

Answer:

Companies bring new models out the whole time! It is a competitive market and the companies are constantly trying to make customers buy their products because they are impressed with how they function.

Explanation:

5 0
3 years ago
Other questions:
  • What is the type of account and normal balance of allowance for uncollectible accounts?
    13·2 answers
  • You can choose to use a window manager only, and not use a desktop manager.
    8·2 answers
  • What must be done to translate a posttest loop expressed in the form
    9·1 answer
  • Lynn runs the locate command and the results include many files from a directory that she doesn't want to include in her search.
    9·1 answer
  • What is the main type of energy used to help convert metamorphic rocks into igneous rocks in the rock cycle ?
    10·1 answer
  • List the caveats to this analysis and how they affect the research. How does this document define the ""typical game developer""
    7·2 answers
  • How are hyperlinks created and used within a presentation? Check all that apply. Hyperlinks are set to open another source file.
    7·2 answers
  • Please explain what is Ribbon?  give examples​
    7·2 answers
  • Vẽ sơ đồ lắp đặt gồm 2 cầu chì, 1 ổ điện, 2 cực điều khiển 2 đèn mắc song song
    9·1 answer
  • Global communication and transportation technologies are an example of a(n) ____
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!