Computer Science, asked by jacydecency, 12 days ago

Develop a flowchart that can be used to sum two numbers A and B

Answers

Answered by Secretgirll
0

Explanation:

Step 1: Start

Step 1: StartStep 2: Declare variables num1, num2 and sum.

Step 1: StartStep 2: Declare variables num1, num2 and sum.Step 3: Read values for num1, num2.

Step 1: StartStep 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 1: StartStep 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 1: StartStep 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 sumStep 6: Stop

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>int main()

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>int main(){

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>int main(){ int num1,num2,sum;

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>int main(){ int num1,num2,sum; printf("\n Enter the first number to be added: ");

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>int main(){ int num1,num2,sum; printf("\n Enter the first number to be added: "); scanf("%d",&num1);

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>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: ");

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>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);

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>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;

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>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);

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>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;

Step 1: StartStep 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 sumStep 6: Stop#include<stdio.h>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;}

Attachments:
Similar questions