NPTEL Problem Solving Trough Programming In C Week 4 Programming Assignment | NPTEL Swayam Assignment Answers
Nptel Week 4 Programming Assignment Answers:
Q.1: Write a C Program to Find the Smallest Number among Three Numbers (integer values) using Nested IF-Else statement.
Q.2: Write a program to find whether a given character is a Vowel or consonant. A character is taken as input. The character may be in Upper Case or in Lower Case.
Q.3: Write a C program to calculate the Sum of First and the Last Digit of a given Number.
For example if the number is 1234 the result is 1+ 4 = 5.
Q.4: Write a C program to find power of a number using while loops. The base number (>0) and exponent (>=0) is taken from the test cases.
If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.
0 Comments