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
Naily [24]
3 years ago
9

The following declaration appears in a program: short totalPay, basePay = 500, bonus = 1000; The following statement appears in

the same program: totalPay = basePay + bonus; Will the statement compile properly or cause an error? If the statement causes an error, why? How can you fix it?
Computers and Technology
1 answer:
Aleksandr-060686 [28]3 years ago
6 0

if u want to fix try to by a bundle and go to online and fix it

You might be interested in
Write a C++ program that reads from the standard input and counts the number of times each word is seen. A word is a number of n
Rufina [12.5K]

Answer:

#include <stdio.h>

#include <string.h>

#include <ctype.h>

 

struct detail

{

   char word[20];

   int freq;

};

 

int update(struct detail [], const char [], int);

 

int main()

{

   struct detail s[10];

   char string[100], unit[20], c;

   int i = 0, freq = 0, j = 0, count = 0, num = 0;

 

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

   {

      s[i].freq = 0;

   }

   printf("Enter string: ");

   i = 0;

   do

   {

       fflush(stdin);

       c = getchar();

       string[i++] = c;

 

   } while (c != '\n');

   string[i - 1] = '\0';

   printf("The string entered is: %s\n", string);

   for (i = 0; i < strlen(string); i++)

   {

       while (i < strlen(string) && string[i] != ' ' && isalnum(string[i]))

       {

           unit[j++] = string[i++];

       }

       if (j != 0)

       {

           unit[j] = '\0';

           count = update(s, unit, count);

           j = 0;

       }

   }

 

   printf("*****************\nWord\tFrequency\n*****************\n");

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

   {

       printf("%s\t   %d\n", s[i].word, s[i].freq);

       if (s[i].freq > 1)

       {

           num++;

       }

   }

   printf("The number of repeated words are %d.\n", num);

 

   return 0;

}

 

int update(struct detail s[], const char unit[], int count)

{

   int i;

 

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

   {

       if (strcmp(s[i].word, unit) == 0)

       {

           s[i].freq++;

 

           return count;

       }

   }

   /*If control reaches here, it means no match found in struct*/

   strcpy(s[count].word, unit);

   s[count].freq++;

 

   /*count represents the number of fields updated in array s*/

   return (count + 1);

}

4 0
3 years ago
What should software firm design for the VR sample at Museum?
gladu [14]

The software firm design for the VR sample at Museum is a 360-degree video that shows a walk through of the virtual studio of a famous artist that is aided by a narration about the various piece of art that the user wants to focus on.

<h3>How is VR used in museums?</h3>

VR is known to be a technology that puts the user inside the experience they are viewing. It is known to be a kind of  interactive or it is one that take the shape of 360-degree video.

The use of VR is done so as to form or create museum tours, so that exhibits in the museum can be interactive, and to bring the different scenes to reality.

Learn more about museums from

brainly.com/question/95815

5 0
3 years ago
How to fix the acount when it says "Uh oh, this account has been restricted because of an unusual amount of activity.
likoan [24]

Answer:

Make sure that the email is verified. Also, usually sites do this when there are multiple log ins on multiple devices. It makes the site think that you are in multiple places at once making it seem suspicious. What i would do is clear cache and change the email and password associated with the account. If all fails contact brainly support

7 0
3 years ago
television broadcasts were originally delivered by using which technology? ethernet wireless coaxial cable broadband
laiz [17]

Television broadcasts were originally delivered by using:

  • Ethernet
  • Coaxial cable
  • [Wireless] or  Broadband

<h3>What is Ethernet is used for?</h3>

Ethernet is known to be a kind of network or services that is often used to link two or more devices in a network.

This is known to be very  popular kind of network connection. It is known to be used in  local networks by specific organizations such as offices, school campuses and  it is used often for Television broadcasts.

Therefore,  Television broadcasts were originally delivered by using:

  • Ethernet
  • Coaxial cable
  • [Wireless] or  Broadband

Learn more about Ethernet from

brainly.com/question/1637942

#SPJ1

7 0
2 years ago
What is individual components of a torch would need to function
Alexeev081 [22]
Fuel
Oxigen
Heat
A stick where the torch will be carried
4 0
4 years ago
Other questions:
  • Based on the relational model, create the database metadata as part the physical designphase.b)from the metadata, write the sql
    10·1 answer
  • By apply styles, _____________ formats are being applied each time.
    6·1 answer
  • Bitmap images are ________ into different software applications.
    9·1 answer
  • You have a network that occupies the top floor of a three-story building. The WAN service provider has installed the line for th
    11·1 answer
  • Greedy Algorithm Design
    8·1 answer
  • A(n) ___ is a set of CPUs which work in parallel in an attempt to simulate the way the human brain works, although in greatly si
    5·1 answer
  • A list cannot use appendleft but a _____ can.
    11·1 answer
  • Difference between software developer and software engineer.
    6·1 answer
  • Which CPT icon should be considered when entering CPT codes into a spreadsheet for numerical sorting
    15·1 answer
  • Low-level formatting ____. Group of answer choices is different from physical formatting is usually performed by the purchaser o
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!