Loading

# C/C++

- Friday, November 8, 2013 - 18:47Water Billing System was aimed to solve problem of water Bill calculations for Maseru and Mafeteng Clients. The reports are produced in the form of written file. Its just a simulation but it works correctly. This programme gives output as 4 files of which 2 files are txt files (Bills and default), and 2 are doc files (Maseru and Mafeteng). Bills file contains information for all clients who...
- Thursday, October 24, 2013 - 17:53Hello friends,I have created a Simple English dictionary using Binary Search Tree in CPP. Features:- 1.File handling. 2.Read/Write data in pre-order.
- Tuesday, October 8, 2013 - 17:02C program with the following specifications : • An array of a variable size (n) • A variable (y) of type integer • The algorithm should divide the array into n/y parts • Calculate the average for each part • Finally find the maximum value among the averages #include<stdio.h> /* C Standard Input and Output Library*/ /*Variable declarations*/ int y ; /* Declaration of a variable called y of...
- Wednesday, December 5, 2012 - 13:51This is just a simple calculator build in C++. Has the capability to Add, Subtract, Multiply and Divide. I'm just a beginner,so don't criticize my work. Thanks. If you have questions, email me at neiljun_rockz@yahoo.com
- Friday, September 20, 2013 - 03:08A simple implementation of the Fibonacci number series. The Fibonacci series is formed by adding the latest two numbers to get the next one, starting from 0 and 1: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, ... #include<stdio.h> /* C Standard Input and Output Library*/ /*Variable declarations*/ int number_of_terms ; int pre_term = 0 ; int post_term = 1 ; int...
- Wednesday, March 4, 2009 - 07:48This is a LOGIN SCREEN and Progress Bar written in C/C++ v2.0. I hope you like this simple program. Submitted by:- Akhilesh Sharma India / Punjab / Nawanshahr. (+91)09463008090
- Monday, September 2, 2013 - 20:16C Programming exercise with array. Find a value (number) in array and remove it. Compilation is Dev-C ++. Code: #include <stdio.h> #include <conio.h> int nhapmang ( int a [ 100 ] , int n ) { int i ; for ( i = 0 ; i < n ; i ++ ) { printf ( "Element %d: " ,i ) ; scanf ( "%d" , & a [ i ] ) ; } } int inmang ( int a [ 100 ] , int n ) { int i ; printf ( "Array: " ) ; for ( i = 0 ; i...
- Sunday, August 25, 2013 - 03:45A program to read data for each student (50) of a course (each line of data consists of the student name, followed by marks (out of 100) obtained in six assignments) , calculate the average mark (out of 50) obtained and output the results under suitable headings. For each student print the name, the six marks, the average and the message pass or fail (use both member operator and arrow operator...
- Thursday, August 15, 2013 - 14:11This Programme reads Four Points from keyboard which is in Cartesian Co-ordinate system(x,y). The First three points will form a Triangle. Then We have to determine whether the Fourth Point is inside or outside of the triangle. Thanking you. Mr.Shine Aiyyappan ashine_06@yahoo.co.in
- Monday, August 12, 2013 - 23:02This will print the Pascals Triangle up to 'n' lines. I created the Matrix of nXn Matrix. Then initilized all the element to zero. Then Calculated the Combination of i,j using the formula: C(n,r)=n!/(r!*(n-r)!) Before that I calculated the Factorial of a number by using a recursive Function.