Posts

Showing posts from November, 2021

IGNOU MCS-011 Problem Solving and Programming Solved Assignment 2021-22 Q1 | C Program using switch statement to provide the following functions

 IGNOU MCS-011 Problem Solving and Programming Solved Assignment 2021-22 | C Program using switch statement to provide the following functions   Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : BCA(2)/011/Assignment/2021-22 Maximum Marks : 100 Weightage : 25% Last Dates for Submission : 31st October, 2021 (For July Session) 15th April, 2022 (For January Session) Q1: Write the following functions that: (2 ½ X 4 =10 Marks) a) Request the user for two integers and outputs them and their sum. b) Request the user for two integers and outputs their remainder after division. c) Request the user for two floats and outputs their product. d) Request the user for a word and prints it twice on the same row. Write a C (main) program to provide the above functions as options to the user using switch statement and performs the functions accordingly. Solution:  #include<stdio.h> #include<conio.h> void sum(int x, int y)  {      printf("Sum of %d

IGNOU BCS-012 Basic Mathematics Solved Assignment 2021-22 Q12

Image
Q12: Evaluate the integral  I=x^2/(x+1)3       (4 Marks)   Course Code Course Title Assignment Number Maximum Marks Weightage Last Date of Submission : : : : : :   BCS-012 Basic Mathematics BCA(1)012/Assignment/2021-22 100 25% 31 st October, 2021 (For July Session) 15 th April, 2022 (For January Session)