Published Jun 6, 2023
2 mins read
401 words
This blog has been marked as read.
Double Click to read more
Knowledge Sharing
Language

Computer Language I Explain A Program

Published Jun 6, 2023
2 mins read
401 words

Today i am learn this program language so i am explain a program language. any misstack comment this blog page i will explain better.

This my own written words so some misstake in bettiven so ajusted 

Program codings use on Trubo c++

Example program

void main ()

{

print f ( “NAME”, REGNO,"ADDRESS")

}

Introduction of C → History of C → 1972 → Bell Telephone Labaratories by “DENNIS RITCHIE”

Program :

  • Simple Interest = PNR/100
  • Compound Interest = P(1+R/100)n-P
  • Header = # include <stdio.h> , # include <conio.h> , # include <math.h>
  • Function = void main ()
  • Clear screen = ( clrscrc );
  • Float = 1,2,3,4…..
  • Scan f = input
  • Print f = output

Program Definition

Program is defined as a sequence of instrections written to perfrom a well defined task with a computer

Requirement Analysis

Requirement analysis is a detial stady of a various oprator perfrom by the program and  the relationship with is output of program in the acerion with user requirement

  • Types of the input data
  • Need output structure
  • The conditaion and constion under which the program as to operator

Program design

The step is a most improtent step in a program cycle

Task

  • Plan the solution to the problem
  • Plan the over all struature of the program

Reprot

  • Flor chart
  • Record layout
  • Overall  plan for solving the problem

Program coding

The program desgin is tranfraed into computer program

  • Code must be simple and clear
  • It must be readable and simple to under state
  • Complex logic and tracking coding should be avoid

Testing and debugging

Testing and debugging is a process of dedatting correcting  error in the program

The main aim of this process is to make the program to produce the expect result

Documentation 

Documentation is a written detaited descrpion about the program

  • Orgin and nature of problem
  • A brife descripion about
  • Ex : The program
  • slow chart
  • Data record
  • Program listing and result

Maintanance 

Maintanance is a defin as a process of modifing the program to carryout one or more requirement

  • Folt
  • To improve perfromens
  • To match the user requirement
  • To match the policy changes

Small program explain

void main ()

{

clrscrc ;

flout P,N,R,t simple , compound;

Print f ( "enter the principal amount\n");

Scan f ( “%f” , &P );

Print f ( “enter the rate of interest\n” );

Scan f ( “%f” , &R );

Print f ( “enter the period of year\n” );

Scan f ("f" , &N );

Simple = P*N*R/100;

Compound = P*pow (1+R/100N)-P;

Print f ("simple intrest is \n\n RS% 6.2 f" , simple);

Print f ("\N");

Print f ("compount intrest is\n\n RS% 6.2 f" , compound);

Print f ("\n");

getch ();

}

c
programming
language
coding
computerlanguage
c++

Candlemonk | Earn By Blogging | The Bloggers Social Network | Gamified Blogging Platform

Candlemonk is a reward-driven, gamified writing and blogging platform. Blog your ideas, thoughts, knowledge and stories. Candlemonk takes your words to a bigger audience around the globe, builds a follower base for you and aids in getting the recognition and appreciation you deserve. Monetize your words and earn from your passion to write.