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
lakkis [162]
4 years ago
8

Write a program to read 2 numbers and display the largest of the two. You should use scanfto read the two numbers and use if sta

tement to see which number is larger
Computers and Technology
1 answer:
Harman [31]4 years ago
8 0

Answer: in C

#include <stdio.h>

int main(){

  int num1, num2;

  printf("Enter first number :: ");

  scanf("%d", &num1);

  printf("Enter second number :: ");

  scanf("%d", &num2);

 

  if(num1 > num2){

     printf("%d is larger than %d\n", num1, num2);

  } else if (num2 > num1) {

     printf("%d is larger than %d\n", num2, num1);

  } else{

     printf("Both of them are equal\n");

  }

  return 0;

}

You might be interested in
The purpose of project management is _____. executing a requirement improvement working toward a common goal completing a projec
Anna11 [10]

Answer:

working toward a common goal.

Explanation:

Project management can be defined as the process of designing, planning, developing, leading and execution of a project plan or activities using a set of skills, tools, knowledge, techniques and experience to achieve the set goals and objectives of creating a unique product or service.

Generally, projects are considered to be temporary because they usually have a start-time and an end-time to complete, execute or implement a project plan.

Furthermore, the main purpose of project management is working toward a common goal.

This ultimately implies that, project managers should ensure adequate attention and time is taken to identify, analyze and manage capital, raw materials, people, system of tasks and other resources, so as to effectively and efficiently achieve a common goal with all project stakeholders.

The fundamentals of Project Management which are universal across all fields and businesses includes;

1. Project initiation.

2. Project planning.

3. Project execution.

4. Monitoring and controlling of the project.

5. Adapting and closure of project.

In conclusion, it is very important and essential that project managers in various organizations, businesses and professions adopt the aforementioned fundamentals in order to successfully achieve their aim, objectives and goals set for a project.

3 0
3 years ago
Sarah has to add a picture from her computer file and add a caption to it. Arrange the steps in a correct sequence.
SVEN [57.7K]
Click Insert
click Picture
click From File
select the desired picture and again click insert
right-click the picture
click Insert Caption
write the caption and add it
5 0
3 years ago
Read 2 more answers
Why do I need to get brainly plus when I already created an account
allochka39001 [22]

Answer:

They want more money I suppose

7 0
3 years ago
Read 2 more answers
Your Desktop is a special folder located inside of your Home Folder that is a very convenient space for you to temporarily store
katovenus [111]

Answer:

A. True

Explanation:

Desktop is area that you see on your screen, it mainly have shortcuts on it for different apps. But in the essence it is a folder located in your home folder and it can be used to store files you are currently working on.

6 0
4 years ago
What allows you to heal<br><br><br><br> undesirable portions of an image​
Vlad [161]

No image friend soz :C

3 0
4 years ago
Other questions:
  • Drivers must always yield to emergency vehicles traveling
    9·1 answer
  • If you need to reprogramming your gps after you begin driving __.
    15·2 answers
  • Ann, a user, reports that she is no longer able to access any network resources. Upon further investigation, a technician notice
    8·1 answer
  • After a conditional formatting rule is created using the ____ dialog box, the rule is then available for use in the database fro
    11·1 answer
  • Pros and cons of toyota's organizational structure?
    6·1 answer
  • Marco is ready to create his first slide. He wants to put the title of the
    11·1 answer
  • In Microsoft Word you can access the _______ command from the "Mini toolbar".
    7·1 answer
  • Who is your favorite smite god in Hi-Rez’s “Smite”
    14·1 answer
  • Medical assistant, Jackie, was downloading some patient information on cerebral palsy from the Internet. While downloading, Jack
    14·1 answer
  • how would you deploy network connectivity in the 25 classrooms, 12 faculty offices, and the common areas of the building?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!