COMPUTER INNOVATIONS
Wednesday, April 8, 2015
Natural Numbers. in c pgm
›
#include int mult (int x, int y) { int result; result = 0; while (y != 0) { result = result + x; y = y - 1; } r...
Leap in Year in c Program
›
#include #include #include typedef int Bool; char whatDay (int); Bool isLeapYear (int); int numOfDaysInMonth (int,Bool); void pri...
Boolean in c Program
›
#include #include #include typedef int Bool; const Bool TRUE = 1; const Bool FALSE = 0; void readLetter(char&); int computeCor...
Tuesday, April 7, 2015
RGB Color in C Program
›
#include #include #include enum Color {Red, Blue, White, Green, Yellow}; const double DUMMY = 0.0; const Color DUMMYC = White; vo...
Simple Program of C Program
›
#include void f (); int i = 0; void main () { cout << i << endl; int i = 1; cout << i << endl; { ...
C Program of Simple Sum
›
#include void inc (int, int&); void main () { int i = 3; int j; inc(i,j); cout << j << endl; } void inc...
Sum of the Digit in c program
›
#include void main () { int num, count = 1; float sum = 0.0; cout << endl; while (count <= 3) { cout <...
›
Home
View web version