For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.Write a program to calculate the product of two compatible matrices A and B.
For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.Write a program to calculate the sum of two compatible matrices A and B
For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.Write a program to calculate total marks, percentage and grade of a student. Marks obtained in each
of the three subjects are to be input by the user. Assign grades according to the following criteria :
Grade A: Percentage >=80
Grade B: Percentage>=70 and <80
Grade C: Percentage>=60 and <70
Grade D: Percentage>=40 and <60
Grade E: Percentage<40
For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.Write a program to find sum of the following series for n terms: 1 – 1/2 + 1/3.....+1/n × (-1)^(n-1).
Write a program to read the elements of a sparse matrix from the user and display it
in its 3-tuple form. Your program should verify whether at the entire matrix is
sparse or not.
Write an algorithm to check prime number
I want answer this question
Create a list named nums and initialize it with at least 3 numbers [1,2,3]. Create a list named
hobbies, initialize it with at least 3 of your hobbies, for example ['Playing Cricket', 'Reading
Books', 'Cooking']. Iterate over the list nums and print hobbies for each list element, so that
the output looks like this:
For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.Write a program to find factorial of a given number k.
For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.2.Write a program to display the first n terms of Fibonacci series.
For every program, there should be a softcopy file containing (i) Algorithm/Flowchart, (ii)
Source Code, (iii) Output
Q.1. Write a program to find squres and cubes of first n natural numbers.