Tag Archives: convert

ASSEMBLY07 An Assembly program to convert ASCII code to its BCD equivalent

Now we will write another Assembly program to convert ASCII code to its BCD equivalent. Let’s identify variables needed for this program. First variable will be the one which will hold the values entered at Console in its ASCII code and it will be NUM. Other variable will be holding BCD equivalent of the ASCII… Read More »

C023 A C program to convert a given lowercase string to uppercase string without using the inbuilt string function

Explanation of FUNCTION: A function is a block of code that has a name and it has a property that it is reusable i.e. it can be executed from as many different points in a C Program as required. Function groups a number of program statements into a unit and gives it a name. This… Read More »

A C Program to convert Binary to Octal number – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/13 Assignment 2013    An interactive C program to convert a binary number to its octal equivalent.   #include<stdio.h> void main() { char S[15]; int I,Y,LIMIT,LEN,OCT[15],BIN[15],RESULT,FLAG=0; clrscr(); printf(“ENTER BINARY NUMBER TO BE CONVERTED : \n”); scanf(“%s”,&S); LEN=strlen(S);… Read More »