answersLogoWhite

0


Best Answer

flowchart

(start)

< x=0 y=0>

/ print " enter two numbers" /

| sum=x+y|

/ print the sum /

(stop)

c program

#include<stdio.h>

main()

{

int x,y,sum;

clrscr();

printf("Enter two numbers\n");

scanf("d",&x,&y);

sum=x+y;

printf("sum=%d",sum);

getch();

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Create a flowchart and C programming language of a selection structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why is c structured programming language?

Because it supports the three basic programmic structure: sequence, selection, iteration.


Short note on structural programming and procedural programming?

There is no difference between procedural programing language &amp; structure programing language.


Example of procedural programming language and object oriented programming language?

example of procedural programming are those programming language that have structure e.g basic,fortran,c++,c and pascal e.t.c


Data structure for language processing in system programming?

lado


What is the grammatical rules governing programming languages?

Language consists of a set of strings (syntactically correct programs) of characters from some alphabet of symbols. Grammar -Formal definition of the syntax of the language. -It naturally defines the hierarchical structure of many PL's. Source: My CMSC 124 (Design and Implementation of Programming Languages) Teacher


What are sentences that appear to be written in a programming language but do not actually follow the structure of the language?

Pseudocode. It is a cross between English and a programming language, designed to be quickly written and understood without worrying about syntax.


Is 'c' a structured language?

Yes, in C, you can use the standard programming structures (sequence, selection, repetition).


Advantages of algorithm over flowchart?

what are the advantages of algorithm over flowchart algorithm is a step by step procedure of a particular program either in pure english programming language or in english programming style. while a flowchart is a pictorial representation of an algorithm. why algorithm is better? the answer is very simple, as algorithm are concise and compact. it gives the basic idea behind the program. why flowchart is better? the answer to it is...being graphical it is easy to understand th methodology of program and can be reviewed as well as corrected easily.


Define structure oriented programming language?

A structure oriented language is one, which should the following structure as Documentation Section, Link section, Definition Section, Global declaration section and Functions(including Main functions) in an hierarchical order. This order cannot be interchanged, but structure oriented language like C can have these sections as optional. Correct me if am wrong, Neela.T


Elements of assembly language programming What is A simple assembly scheme pass structure of assembler design of two pass assemblers a single pass assemblers what is macros?

what are the elements of assembly language programming?


Is XML a programming language?

It is programming languages that are referred to in terms of "high level" and "low level".Extensible Markup Language(XML) is a markup language not a programming language, it is a data formatting specification that makes the presentation of data independent of programs (so that data can be passed between programs).For this reason the answer to your question is "neither".


Where can one find good books on the C programming language?

The best place to find a good selection of books on the C programming language would be Amazon. One can also find some at Barnes&amp;Noble, Overstock, and WalMart.