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
myrzilka [38]
3 years ago
13

Write an algorithm and flowchart to calculate sum of two given numbers​

Computers and Technology
1 answer:
klio [65]3 years ago
7 0
Step 1: Start
Step 2: Declare variables num1, num2 and sum.
Step 3: Read values for num1, num2.
Step 4: Add num1 and num2 and assign the result to a variable sum.
Step 5: Display sum
Step 6: Stop
#include
int main()
{
int num1,num2,sum;
printf("\n Enter the first number to be added: ");
scanf("%d",&num1);
printf("\n Enter the second number to be added: ");
scanf("%d",&num2);
sum = num1 + num2;
printf("\n The sum of two numbers is: %d",sum);
return 0;
}
You might be interested in
select all examples of proper keyboarding technique. rest your fingers gently on the home row or home keys. slouch in your chair
padilas [110]

Rest your fingers gently on the home row or home keys.

Rest your palms on the keyboard.

Relax your fingers.

All the above are proper keyboard techniques apart from slouch in your chair. It is always recommended to sit up straight with your feet positioned on the floor for balance. Do not cross. Center your body to the H key and have your elbows at sides and bent about 90 degrees. Use correct fingering and deploy touch typing. These and many others will help develop optimal speed and accuracy and help prevent the development of stress injury.

6 0
3 years ago
Read 2 more answers
Ideally an entity identifier is composed of _____ attribute(s).
daser333 [38]
Entity identifier is composed of 4 attributes. It is used to determine the class of one entity. Each entity has its unique attributes. An identifying entity may use the below attributes:
1. date
2. title 
3. the complete address of the entity 
4. name of the performer

8 0
3 years ago
To begin importing data from an excel spreadsheet, click on the ____ tab on the ribbon.
Mamont248 [21]

Answer:

External data

Explanation:

The "external data" is one of the tabs on the ribbon. It is used for importing data from an excel spreadsheet.

Hope this helps!

3 0
3 years ago
I want to start a debate about something
vovangra [49]

Answer:

I agree for 13-yrs old not having driving licenses because they will become a lot of wrecks and they also can kill themselves or someone and I also agree that they should not be able to get jobs because if someone stills something or a robbery happens then they could get kidnapped or they could get shot

3 0
3 years ago
Read 2 more answers
In OOP terminology, an object's member variables are often called its ________ and its member functions can be referred to as it
sineoko [7]

Answer:Attributes, Methods

Explanation: According to the object-oriented programming, attribute serves as the purpose for defining the an elements features and functioning.It is usually in the form of collection of objects and also known as object's member variable.

Method in the OOP's concept is defined as technique that works on the object that consist of some data and certain features.It also clarifies about the usage or utilization of that data message according to their behavior.

5 0
4 years ago
Other questions:
  • To avoid potential documentary errors and security leaks, the configuration of firewalls should not be documented unless strictl
    5·1 answer
  • create a 3 to 5 step plan for checking out a post on social media for the next time you encounter something questionable.
    11·2 answers
  • [Submit on zyLabs] Please write a function with one input, a matrix, and one output, a matrix of the same size. The output matri
    10·1 answer
  • What is the method for removing a domain controller in windows server 2012 r2?
    15·1 answer
  • someone who wants the credentials of skilled training, but in less time that a four -year degree should consider
    8·1 answer
  • A mobile device you are troubleshooting is experiencing a sharp decrease in performance after an hour of operation. The user pow
    12·1 answer
  • Which category of management information systems (MIS) combines the forecasting capability of decision support software with the
    12·1 answer
  • Write code that prompts for three integers, averages them, and prints the average. Make your code robust against invalid input;
    7·1 answer
  • Answer is B because portrait is define that they take only photographs of people and like to communicate with people they are we
    10·1 answer
  • There are a wide variety of nonsampling errors that can occur during data collection including the first type, ________.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!