Tag Archives: entered

Write a program in 8086 assembly Language that accepts a string of four characters entered using the keyboard and checks if all the entered characters are decimal digits. In case all the characters are decimal digits then it converts the entered string into equivalent binary number. – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in 8086 assembly Language that accepts a string of four characters entered using the keyboard and checks if all the entered characters are… Read More »

Design an algorithm and draw corresponding flowchart to print the value of the number in words when the number entered is in the range of 1 to 299. 10m Dec2006

Design an algorithm and draw corresponding flowchart to print the value of the number in words when the number entered is in the range of 1 to 299. 10m Dec2006 #include <stdio.h> #include <string.h> #include <stdlib.h> void main() { char num[3]; void convert_to_words(char*); clrscr(); printf(“Enter any number between 1 to 299 : “); scanf(“%s”,&num); convert_to_words(num);… Read More »

C004 An interactive C program that reads in integers until a zero is entered and display total of odd and even numbers and average of odd and even numbers

Let’s identify variables needed for this program. First variable will be the one which will save the value entered by the user and it will be NUM. Other variables will be according to the output requirements that are Total of even numbers (TOTAL_EVEN), Total of odd numbers (TOTAL_ODD), Average of even numbers (AVG_EVEN), Average of… Read More »