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
Kipish [7]
3 years ago
12

The if/else if statement is actually a form of the __________ if statement.

Computers and Technology
1 answer:
romanna [79]3 years ago
8 0

Answer:

The answer to this question is "nested".

Explanation:

The answer to this question is nested because, In programming languages, there is a concept of nested if-else statement. In nested if-else statement placing if statement inside another IF Statement that is known as nested If in C Programming.

Example of nested if can be given as

#include <stdio.h>

int main()

{

  int a,b,c;

printf("Enter 3 number\n");

scanf("%d",&a);

scanf("%d",&b);

scanf("%d",&c);

   if(a>b)

   {

    if(a>c)

    {

        printf("A is greater: %d",a);

    }

   }

   else

   {

       if(b>c)

       {

           printf("B is greater: %d",b);

       }

       else

       {

           printf("C is greater: %d",c);  

       }

   }

   return 0;

}

output:

Enter 3 number  

4

7

9

c is greater: 9

You might be interested in
You have repaired a broken LCD panel in a laptop computer. However, when you disassembled the laptop, you bent the hinge on the
Romashka-Z-Leto [24]

Answer:

Listen carefully to the customer and avoid getting defensive or even offensive.

Explanation:

The customer have every right to be angry since he might be ignorant of the work done and only act base on what he sees. In this scenario you need to listen carefully to his complain avoid been defensive and also avoid getting him/her more angry by been offensive. after he has laid out his complain you can then go ahead to explain why it is necessary to bend the hinge on the lid.

5 0
3 years ago
What is involved with individual user-testing?
MArishka [77]

Answer:

the middle one would make the most sense if not than it is the 3rd

Explanation:

4 0
3 years ago
Read 2 more answers
1. Realizați o schemă logică pentru un algoritm care sa calculeze suma primelor
DIA [1.3K]

Explanation:

The clear rendering reads;

"1. Make a logic diagram for an algorithm to calculate the sum of premiums 100 natural numbers.

2. Make a logic diagram that displays a maximum of 2 natural numbers.

3. Make a logic diagram that displays the square of a natural number".

4 0
3 years ago
Edhesive Assignment 4: Student Schedule... Please help, it would be appreciated. At this point I am so desperate I am willing to
ELEN [110]

Answer:

# This assignment requires you to ask for the first name and last name, and then the class number and room number  

First_Name = input("first name ")

Last_Name = input("last name ")

Student_ID = input("Student ID: ")

print("+++++++++++++++++++++++++++++++++++++++++++++++++")

print("+\t\t" + last_Name + ", " + first_Name + "\t\t" + "Student ID: " + student_ID + "\t\t\t+")

print("+                                               +")

print("+++++++++++++++++++++++++++++++++++++++++++++++++")

print("*                                               *")

schdule = input("Enter, STOP to end Your Next Class: ")

block_Num = 0

while schdule != "STOP":

  block_Num += 1

  class_Num = input("Input room no.: ")

  print("*\t\t" + "Block " + str(block_Num) + ": " + schdule + "\t\tRoom: " + class_Num + "\t\t*")

  schdule = input("Enter STOP to end, next class: ")

   

print("+                                               +”)    

print("+++++++++++++++++++++++++++++++++++++++++++++++++")

# END #

The program asks the student to enter the student name (first and last) and then enter the room number, and the block number, till the schedule ends or is equal to STOP.

Rest is explained by STOP itself.

Explanation:

The answer does not require any further explanation.

4 0
4 years ago
Will give 5star and mark brainleist
TiliK225 [7]
9. C
10. B

Hope this helps!
7 0
3 years ago
Other questions:
  • In a ____________________ attack, the attacker sends a large number of connection or information requests to disrupt a target fr
    14·1 answer
  • Write the definition of a method powerto, which receives two parameters. the first is a double and the second is an int. the met
    8·1 answer
  • Smoking is a REALLY good example of a choice that can have negative effects on the smoker's health, AND the well-being of others
    9·1 answer
  • Which of the following is an object-oriented prototype-based language? Java Pike REBOL MATLAB
    9·1 answer
  • _____ is a group of Internet-based applications that build on the ideological and technological foundations of Web 2.0, and that
    10·1 answer
  • Why do you think there is a difference between good, clean designs compared to the bad, cluttered designs below?.
    6·1 answer
  • Bruh why is everyone skipping my question!!!!!!!
    6·1 answer
  • What does the poster exemplify?
    15·2 answers
  • Software piracy is acceptable as it helps us obtain software cheaper or sometimes even for free.
    11·2 answers
  • true false the if statement causes one or more statements to execute only when a boolean expression is true
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!