Greg Perry has been a programmer and trainer for the past 14 years. He received his first degree in computer science, then he received a Masters degree in corporate finance. He currently is a pro...
Batch File Programming - An E-Book by Premkumar.S This book will be very helpful for those who wanna kickstart with Hacking or Ethical Hacking in Windows boxes... This book covers topics that helps...Full description
C, C++, C# Programming ConceptsFull description
C and C++ are designed basically for making the machine understand the end users (the people uses the computer) instructions. These are classified as high-level programming language which was originally developed by Dennis M.
this helps anybody to teach himself very easy C and C++. It starts with basic informations about language and take you through the complexity of algoritms in C
Computer Practical File Object Oriented Programming with C++
C# or C Sharp programming tutorial
CS488 C# and.net ProgrammingFull description
hvbjbxajabxjbaFull description
Description complète
Descripción: Programación de microcontroladores c ccs
Learn the basics of Visual C# programming. Easy to learn and read tutorial for beginners.
Full description
guhuhkbhjb
Introduction to C++ Programming...
This Guides provides Important C Programming Questions asked during InterviewsFull description
Descripción: this assignment is contain C++ programming, and how make simple C++ program with cording examples.
sfcsvdscs
C Programming File Submitted by: MCA(I yr – 2009)
Index Progra m .No.
Program
Date
Page No
1
To calculate the absolute value of any number
1
2
Printing the numbers which are divisible by 7 and 100
2
3
Finding the largest number
3
4
Reverse of a number
4
5
Calculating the power of a number
5
6
Use of Bitwise Operators
6
7
Roots of Quadratic Equation
8
8
Reading a character in Uppercase and check whether it is vowel or not.
9
9
Printing the Multiplication Tables
10
Generating the Armstrong numbers between 2 – 1000
10
11
11
Fibonacci series using function
12
12
Factorial using recursion
13
13
Printing ASCII value and equivalent characters
14
14
Finding the binomial coefficient using functions
15
15
Computing the average, maximum, minimum value
16
16
Pattern 12345 23456
17
T.Sign
34567
17
Calculating the GCD
18
Pattern ABCDCBA ABC CBA AB BA A A
18
20
19
Prime number generation
20
Star Pattern * *** *****
21
22
Pattern 1
21
2 4 7
3
5 8
23
6 9
10
22
Binary Search
24
23
To Calculate the sum of the series x-x3/3!+x5/5!-x7/7!...............
26
24
To compare two Square Matrices
28
25
To find the factors of a number
30
26
Calculating the LCM of two numbers
31
27
To Divide the elements of the array into odd and even array
32
28
To enter two variables and to calculate their reverse order using pointers
34
29
To find the length of string including spaces and excluding spaces
36
30
To print the sum of diagonals of a square matrix
38
31
Program to illustrate nested Structure
40
32
To print different values being pointing to by an array of pointers
44
33
Calculating the total number of digits and their sum in an alpha numeric string
46
34
Finding sum of numbers using functions
47
35
Passing of a Structure to a function
48
36
Write menu driven program of file to ADD, MODIFY, LIST, DELETE
49
37
Program of array of pointers to functions
51
38
Program of Command Line argument
52
Program No – 1 Program code: //To calculate the absolute value of any number #include #include void main() { int n,n1; clrscr(); printf("\nEnter any number to get its absolute value: "); scanf("%d",&n); if(n>=0) { n1=n; printf("The absolute value of |%d| is: %d",n,n1); } else { n1=-1*n; printf("The absolute value of |%d| is: %d",n,n1); } getch(); }
Output Enter any number to get its absolute value: -98 The absolute value of |-98| is: 98
Program No – 2 Program code: //Printing the numbers which are divisible by 7 and 100 #include #include void main() { int a[5],i; clrscr(); printf("\nTo check whether the numbers are divisible by 7 and 100."); printf("\nEnter the numbers: "); for(i=0;i<5;i++) scanf("%d",&a[i]); for(i=0;i<5;i++) { if((a[i]%7==0)&&(a[i]%100==0)) printf("\n%d is divisible by 7 and 100.",a[i]); else printf("\n%d is not divisible by 7 and 100.",a[i]); } getch(); }
Output To check whether the numbers are divisible by 7 and 100. Enter the numbers: 700 56 890 1400 7 700 is divisible by 7 and 100. 56 is not divisible by 7 and 100. 890 is not divisible by 7 and 100. 1400 is divisible by 7 and 100. 7 is not divisible by 7 and 100.