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
crimeas [40]
3 years ago
11

If the programmer translates the following pseudocode to an actual programming language, a syntax error is likely to occur. Can

you find the error?
Declare String 1stPrize
Display "Enter the award for first prize." Input 1stPrize
Display "The first prize winner will receive ", 1stPrize
Computers and Technology
1 answer:
maxonik [38]3 years ago
8 0

Answer:

if, then, else

Explanation:

you specified that if you enter award for 1st prize then it'll display 1st prize but you didnt specify what will happen if user does not enter 1st prize or what happens if 1st prize is not allocated. To me it looks like you got the 'if' and 'then' part correct but you dont have a 'else' part to it therefore it'll create an error when its not declared.

You might be interested in
Write a program that implement a bubble sort ?
Tanzania [10]

Answer:

 A program that implement a bubble sort:

 #include<iostream.h>

 #include<conio.h>

 

int main()

{

int ar[50],no,i,j,temp;

cout<<"Enter array size ";

cin>>no;

cout<<"Enter array elements ";  

 

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

 cin>>ar[i];

 

for(i=1;i<no;++i)

{

 for(j=0;j<(no-i);++j)

  if(ar[j]>ar[j+1])

  {

   temp=ar[j];

   ar[j]=ar[j+1];

   ar[j+1]=temp;

  }

}

 

cout<<"Bubble Sort array";

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

 cout<<" "<<ar[i];

 

return 0;

}

6 0
3 years ago
Which are types of lines? Choose three answers.
alekssr [168]
Straight
Curvilinear
Rectilinear
7 0
3 years ago
How to find out what version of windows i have?
Sholpan [36]
Look in for setting under system settings, that should show what software and firmware version you are on.
3 0
4 years ago
Which button is not present in the font group Home tab?<br> -B<br> -U<br> -I<br> -D
Otrada [13]

Answer:

-i

Explanation:

is the answer of that question

3 0
3 years ago
Read 2 more answers
Select the correct answer.
Korvikt [17]

Answer:

Wireless Internet Access

3 0
3 years ago
Read 2 more answers
Other questions:
  • What the address for dns server that the eorkstation will use?
    10·1 answer
  • Deleting a footnote or endnote reference mark in a document only deletes the reference mark but not the actual footnote or endno
    14·1 answer
  • Can somebody help me with this problem
    10·1 answer
  • In JavaScript, which of the statements below can be used for string declaration?
    11·1 answer
  • A spreadsheet has some values entered: Cell A1 contains 10, cell A2 contains 14, cell A3 contains 7. You enter in cell A4 the fo
    15·2 answers
  • What age group is experiencing the most growth in social media
    13·1 answer
  • If a suspect is not read his or her Miranda rights, then nothing the suspect says can be used at trial, even if the suspect volu
    11·1 answer
  • Which statement accurately compares the Restart at 1 and Continue Numbering features of Word?
    13·2 answers
  • A ? is the desired value where a process should be maintained. The value may be manually set, automatically set, or programmed.
    13·1 answer
  • Katla is a project manager. One of the programmers on her team comes to her and says that he permanently deleted some code mista
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!