Pages

» » Writing user friendly C programs

By: X Byte Lab Posted date: 16:12 Comments: 2
                   C Program for beginners
keywords: c program to write flowchart, c language to write flowchart, flowchart, c++ flowchart, c++ program to flowchart,  how to write user friendly program , how to write user friendly program for c language , user friendly program for beginner, user friendly program, easy user friendly program, c user friendly program , user friendly program, c program to write user friendly program, c language to write user friendly program, c++ user friendly program, c++ ufp,  how to write program , how to write user friendly program for c language ,

simplest program, simplest c or c++ program, easy program of c language, use c programming to hack, learn JavaScript, learn Perl, learn html, learn css, learn, algorithm, c program for kid, c program, c++ program, easy c program, c program, first lesson in c program, learn c programming in 1 hour, x byte lab, xbyte, xbytelab, ashiq dey, author ashiq, author dey, easy way write c program, how to write a c program, googlegoogle love you, use google, best search engine google, make money with googlegoogle friendly, google seo, code x ,codex.blospot.in, codex-lab.blogspot, c language, subtract, earn money, sexy, girl, top most hacker, panty, ebook for c program, ebook to learn c, c ebook, c++ ebook.

Writing user friendly programs

  Users are recommended to write programs in such a way that the computers display friendly messages to read the values of the variables. The result are also displayed with appropriate text. Programs written in this manner are called use friendly programs.

  If you are new to C language then without wasting time Visit this linkBecause if you learn from beginning then only it will be beneficial for you and it will not take more than half an hour to learn the basics.

To know how to write and where to write the main structure of a C program visit this link.
To download application to write C/C++ program visit this link.
To get the list of all C programs for beginners visit this link.

  Below is a user friendly program to find the sum of two numbers, have a look.
103


Code
Description
#include<stdio.h>
Header file
#include<conio.h>
Header file
main()
Main program
{
Block begins
int a, b, sum;
Variable going to be used are declared
//clrscr();
Single line comment
printf(“Enter 1st number: “);

scanf(“%d”,&a);
Functions
printf(“Enter 2nd number: “);
and
scanf(“%d”,&b);
statement
sum = a + b;
as
printf("sum: %d \n",sum);
per
getch();
flowchart
}
Block ends

when the program is executed, the values are entered and the results are displayed as below screenshot
123


If you have any doubt then please comment here or visit our Facebook page c++ for beginner at this link and if you like this blog then please rate us below


«
Next
Newer Post
»
Previous
Older Post

2 comments:

  1. Slots - Casino Directory - JtmHub.com
    A fun way 세종특별자치 출장마사지 to make money with free slot machines, but 인천광역 출장샵 also a bonus-free 광명 출장안마 day at play Play slots for 군포 출장마사지 free or sign-up 계룡 출장마사지 to win up to 250 free spins

    ReplyDelete

Popular

Comments