Coding:
All algorithm if you want to operate as a tool, such as a program is needed to express in the form of a code independent of programming language, so that is not dependent on any one, eg
# include # include
int main () {
pre float, pag, cam,
printf ("Introdusca the price of development: $ ");
scanf ("% f ", & pre);
printf (" Introdusca the amount that the customer pay :$");
scanf ("% f", & page);
cam = page - pre;
printf ("The client has plenty: $% .2 f", cam);
getch ();}
Flowchart:
pag = Customer
change = change
* The material in this post was created entirely by me, basing on what I learned in the book "Fundamentals of programming: Think C"
0 comments:
Post a Comment