February 2013


Procedure to do Microworkers Cheetah Forum Jobs:

Let me tell you something that if you successfully completed any of the Cheetah Forum Posting Jobs available to you in Microworkers,...

Mushfiqur Rahman 5 Feb, 2013

A file name DATA contains a series of integer numbers. Code a program to read these numbers and then write all ‘odd’ numbers to a file to be called ODD and all ‘even’ numbers to a file called EVEN.

#include<stdio.h> #include<STDLIB.H> main() {     FILE *f1,*f2,*f3;     char c[1];     int x;     f1=fopen("data.txt"...

Mushfiqur Rahman 1 Feb, 2013

Write a program to calculate factorial of a given number using recursion.

#include < stdio.h > #include < conio.h > int factorial ( int f ) {     int fact;     if (f == 1 )         return ( 1 );     ...

Mushfiqur Rahman 1 Feb, 2013

Write a program that will scan a character and convert all lower case characters into upper case equivalents.

#include <ctype.h> #include <stdio.h> #include <conio.h> main() {   char c,u;   printf("Please enter a charecter:=...

Mushfiqur Rahman 1 Feb, 2013

Write a program that sort an array of integers.

#include<conio.h> #include<stdio.h>               void main() {     int num[20],total_element,range,i,j,temp;     clrscr();    ...

Mushfiqur Rahman 1 Feb, 2013

Write a program to replace a particular word by another word in a given string.

#include<stdio.h> #include<conio.h> #include<string.h> main() {     char a[80]={'\0'},b[20]={'\0'},c[20]=...

Mushfiqur Rahman 1 Feb, 2013

Write a program to read a line of text containing a series of words from the terminal

#include<stdio.h> #include<conio.h> #include<STRING.H> main() {     char a[80];     clrscr();     int i=0;     printf(...

Mushfiqur Rahman 1 Feb, 2013

Write a C program to show the Pascal’s triangle

#include < stdio.h > #include < conio.h > #include < MATH.h > void main () {     int a,i,j,rows;     printf ( " \n ...

Mushfiqur Rahman 1 Feb, 2013

Write a C program to calculate the multiplication of two matrixes.

#include #include int main() { int a[5][5],b[5][5],c[5][5],i,j,k,sum=0,m,n,o,p; printf("\nEnter the row and column of fir...

Mushfiqur Rahman 1 Feb, 2013

Write individual program to print the following Pyramids:-

a) #include<stdio.h> #include<conio.h> main() {     int a,b,m;     clrscr();     scanf("%d",&m);     printf(...

Mushfiqur Rahman 1 Feb, 2013

Write a program to calculate factorial of a given number.

#include<stdio.h> #include<conio.h> void main() {     int i,b=1,n;     printf("enter the number:");     scanf("%...

Mushfiqur Rahman 1 Feb, 2013

Write a program to evaluate the series

#include<stdio.h> #include<conio.h> #include<math.h> main() {     clrscr();     int n,x,sum=1,a,b,p;     printf("Ple...

Mushfiqur Rahman 1 Feb, 2013

Write a program to print these Floyd’s triangle

#include<stdio.h> #include<conio.h> main() {     int a,b,m;     clrscr();     scanf("%d",&m);     printf("\n...

Mushfiqur Rahman 1 Feb, 2013

Write a program to print these Floyd’s triangle

#include<stdio.h> #include<conio.h> main() {     int a,b,n=1,m;     clrscr();     scanf("%d",&m);     printf(...

Mushfiqur Rahman 1 Feb, 2013

Write a program to evaluate the series

#include<stdio.h> #include<conio.h> #include<math.h> main() {     clrscr();     float n,x,a,b,p,f,sum=1;     printf(...

Mushfiqur Rahman 1 Feb, 2013

Write a program to read the values of x and y and print the results of the following expressions in one line:

#include<stdio.h> #include<conio.h> #include<math.h> main() {     clrscr();     float y,x;     printf("Please Enter ...

Mushfiqur Rahman 1 Feb, 2013

Write individual program to print the following Pyramids:-

#include<stdio.h> #include<conio.h> main() {     int a,b,n=40,m;     clrscr();     scanf("%d",&m);     printf(...

Mushfiqur Rahman 1 Feb, 2013

Write a program to convert decimal to binary.

#include<stdio.h> #include<conio.h> main() {     int i,dec,a[20];     clrscr();     scanf("%d",&dec);     i=0;   ...

Mushfiqur Rahman 1 Feb, 2013

Write a program to find the largest number among three numbers.

#include<stdio.h> #include<conio.h> #include<math.h> main() {     clrscr();     int y,x,z;     printf("Please Enter ...

Mushfiqur Rahman 1 Feb, 2013

Write a program to print the digits of a given numbers in reverse order.

#include<stdio.h> #include<conio.h> #include<string.h> main() {      clrscr();      char b[30],c[30]={'\0'}...

Mushfiqur Rahman 1 Feb, 2013

Write a program which will write 10 integer numbers stored in an integer array to a data file called NUMBERFILE. The program will then close this file, and reopen it to display by reading the NUMBERFILE

#include<stdio.h> #include<STDLIB.H> #include<conio.h> main() {     int a[10],i;     FILE *f2;     for(i=0;i<=9;i++)  ...

Mushfiqur Rahman 1 Feb, 2013

Write a program to find the sum of the elements contained in an integer array using pointers to array.

#include<stdio.h> #include<conio.h> main() {     clrscr();     int *p,sum=0,i;     int x[5]={5,9,6,3,7};     i=0;     p=x;/*ini...

Mushfiqur Rahman 1 Feb, 2013